Lesson Two-digit numbers with digit "9"
Algebra
->
Divisibility and Prime Numbers
-> Lesson Two-digit numbers with digit "9"
Log On
Algebra: Divisibility and Prime Numbers
Section
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'Two-digit numbers with digit "9"'
This Lesson (Two-digit numbers with digit "9")
was created by by
ikleyn(53810)
:
View Source
,
Show
About ikleyn
:
<H2>Two-digit numbers with digit "9"</H2> <H3>Problem 1</H3>A computer generates a two-digit integer random numbers. It can be any number from 00 to 99. Find the probability that it (a) - is 99; (b) - is not 99; (c) - has no 9s in it; (d) - has at least one 9 in it. <B>Solution</B> Notice that in all, there are 100 two-digit numbers from 00 to 99. <pre> (a) The answer to (a) is obvious: it is P = {{{1/100}}} = 0.01. (b) The answer to (b) is the complement to value of (a): P = 1 - {{{1/100}}} = {{{99/100}}} = 0.99. (d) There are 100 two-digit numbers, and each such number has two digits. So, the count of the digits is 2*100 = 200: two hundred digits are in use. It is obvious, that all the digits have equal rights and, therefore, you can meet them equally often. It means that the digit "9" is used 200/10 = 20 times. In turn, it means, that in all, there are 19 two-digit numbers, where "9" does present (not 20, but 19 numbers, because in the number 99 the digit "9" is included twice). THEREFORE, the answer to (d) is P = {{{19/100}}} = 0.19. (c) The answer to (c) is the complement to value of (d): P = 1 - {{{19/100}}} = {{{81/100}}} = 0.81. </pre> //////////////////// When I saw the number 0.81 as the answer in (c), it came to my mind that the solution for (c) could be constructed in different (simpler) way. <pre> Indeed, there are 9 digits from 0 to 9, excluding "9": {0, 1, 2, 3, 4, 5, 6, 7, 8}. Hence, there are 9*9 = 81 two-digit numbers, where "9" does not present. It gives the probability {{{81/100}}} = 0.81 in (C) by easy way. </pre> My other lessons in this site on miscellaneous problems on divisibility of integer numbers are - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Light-flashes-on-a-Christmas-tree-and--a-Least-Common-Multiple.lesson>Light flashes on a Christmas tree and a Least Common Multiple</A> - <A HREF=http://www.algebra.com/algebra/homework/divisibility/lessons/The-number-that-leaves-a-remainder-1-when-divided-by-2-by-3-by-4-by-5-and-so-on-until-9.lesson>The number that leaves a remainder 1 when divided by 2, by 3, by 4, by 5 and so on until 9</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/The-number-rem4-mod7-rem5-mod8-and-rem6-mod9.lesson>The number which gives remainder 4 when divided by 7, remainder 5 when divided by 8 and remainder 6 when divided by 9</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/Introductory-problems-on-divisibility-numbers.lesson>Introductory problems on divisibility of integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Finding-Greatest-Common-Divisor-of-integer-numbers.lesson>Finding Greatest Common Divisor of integer numbers</A> - <A HREF=http://www.algebra.com/algebra/homework/divisibility/lessons/Relativity-prime-numbers-help-to-solve-the-problem.lesson>Relatively prime numbers help to solve the problem</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Solving-equations-in-integer-numbers.lesson>Solving equations in integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Quadratic-polynomial-with-odd-integer-coefs-can-not-have-a-rational-root.lesson>Quadratic polynomial with odd integer coefficients can not have a rational root</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/Proving-the-equation-has-no-integer-solutions.lesson>Proving an equation has no integer solutions</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Composite-number-of-the-form-%284n%2B3%29-must--have-a-prime-divisor-of-the-form-%284n%2B3%29.lesson>Composite number of the form (4n+3) must have a prime divisor of the form (4n+3)</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Problems-on-divisors-of-a-given-number.lesson>Problems on divisors of a given number</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/How-many-three-digit-numbers-are-multiples-of-both-5-and-7.lesson>How many three-digit numbers are multiples of both 5 and 7?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/How-many-3-digit-numbers-are-not-dvsbl-by-2-not-dvsbl-by-3-notdvsbl-by-either-2-or-3.lesson>How many 3-digit numbers are not divisible by 2; not divisible by 3; not divisible by either 2 or 3</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/How-many-integer-numbers-in-the-range-1-300-are-divisible-by.lesson>How many integer numbers in the range 1-300 are divisible by at least one of the integers 4, 6 and 15 ?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-the-remainder-of-division.lesson>Find the remainder of division </A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Why-3%5En%2B7%5En-2-is-divisible-by-8-for-all-positive-integer-n.lesson>Why 3^n + 7^n - 2 is divisible by 8 for all positive integer n ?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/What-is--the-last-digit-of-the-number-a%5En.lesson>What is the last digit of the number a^n ?</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-the-last-three-digits-of-these-numbers.lesson>Find the last three digits of these numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-the-two-last-digits-of-the-number-3%5E123%2B7%5E123%2B9%5E123.lesson>Find the last two digits of the number 3^123 + 7^123 + 9^123</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/Find-the-last-two-digits-of-%281%21-%2B-2%21-%2B-3%21-%2B-%2B-2024%21%29%5E2024.lesson>Find the last two digits of (1! + 2! + 3! + ... + 2024!)^2024</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-n-th-term-of-a-sequence.lesson>Find n-th term of a sequence</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Solving-one-Diofantine-equation.lesson>Solving Diophantine equations</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Determine-the-number-of-integer-solutions-to-equation-n%5E2%2B18n%2B3=m%5E2.lesson>How many integers of the form n^2 + 18n + 13 are perfect squares</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Miscellaneous-problems-on-divisibility-numbers.lesson>Miscellaneous problems on divisibility numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-the-sum-of-digits-of-integer-numbers.lesson>Find the sum of digits of integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Find-a-triangle-with-integer-side-lengths-and-integer-area.lesson>Find a triangle with integer side lengths and integer area</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Math-circle-level-problem-on-the-hundred-handed-monster-Briareus.lesson>Math circle level problem on the hundred-handed monster Briareus</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Math-Citcle-level-problem-on-lockers-and-divisors.lesson>Math Circle level problem on lockers and divisors of integer numbers</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Nice-entertaiment-problem-What-numbers-John-is-thinking-about.lesson>Nice entertainment problems related to divisibility properties</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Solving-problems-on-modular-arithmetic.lesson>Solving problems on modular arithmetic</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/Using-the-little-Fermat-theorem-to-solve-a-problem-on-modular-arithmetic.lesson#google_vignette>Using the little Fermat's theorem to solve a problem on modular arithmetic</A> - <A HREF=https://www.algebra.com/algebra/homework/divisibility/lessons/OVERVIEW-of-miscellanious-solved-problems-on-divisibility-of-numbers.lesson>OVERVIEW of miscellaneous solved problems on divisibility of integer numbers</A>