loseyourname
Staff Emeritus
Gold Member
- 1,829
- 5
Suppose a number between 1 and 100 is chosen at random. What is the probability that the last two digits of its cube are both 1?
n = (1, 2, . . ., 1000)
n = x + y, \ x = (100, 200, . . ., 900), \ y = (1, 2, . . ., 100)
n^3 = (x + y)^3 = x^3 + 3x^2y + 3xy^2 + y^3 =
(x^3 + 3x^2y + 3xy^2) + y^3 =
[x(x^2 + 3xy + 3y^2)] + y^3
Given that x = (100, 200, . . ., 900) the last two digits of xz will be 00, so long as z is a whole number.
Let z = x^2 + 3xy + 3y^2
Because x and y are both whole numbers, z will also be a whole number. Therefore, the last two digits of x(x^2 + 3xy + 3y^2) are 00. (1)
Because n^3 = (x + y)^3 = x^3 + 3x^2y + 3xy^2 + y^3, the last two digits of n^3 depend solely on y^3 by (1). Therefore, I only need to calculate the probability that the last two digits of y^3 are 11.
Let A = the last two digits of y^3 are 11.
N = all possible values of y = 100.
N(A) = all values of y such that y^3 = 100a + 11 (because the last two digits of n^3 independent of y^3 are 00).
y^3 = 100a + 11
y = \sqrt[3]{100a + 11}
Clearly there is only one solution to this equation, so N(A) = 1, so
P(A) = \frac{N(A)}{N} = 0.01
n = (1, 2, . . ., 1000)
n = x + y, \ x = (100, 200, . . ., 900), \ y = (1, 2, . . ., 100)
n^3 = (x + y)^3 = x^3 + 3x^2y + 3xy^2 + y^3 =
(x^3 + 3x^2y + 3xy^2) + y^3 =
[x(x^2 + 3xy + 3y^2)] + y^3
Given that x = (100, 200, . . ., 900) the last two digits of xz will be 00, so long as z is a whole number.
Let z = x^2 + 3xy + 3y^2
Because x and y are both whole numbers, z will also be a whole number. Therefore, the last two digits of x(x^2 + 3xy + 3y^2) are 00. (1)
Because n^3 = (x + y)^3 = x^3 + 3x^2y + 3xy^2 + y^3, the last two digits of n^3 depend solely on y^3 by (1). Therefore, I only need to calculate the probability that the last two digits of y^3 are 11.
Let A = the last two digits of y^3 are 11.
N = all possible values of y = 100.
N(A) = all values of y such that y^3 = 100a + 11 (because the last two digits of n^3 independent of y^3 are 00).
y^3 = 100a + 11
y = \sqrt[3]{100a + 11}
Clearly there is only one solution to this equation, so N(A) = 1, so
P(A) = \frac{N(A)}{N} = 0.01
Last edited: