What is the Probability a Random Number's Cube Ends in 11?

  • Context: Graduate 
  • Thread starter Thread starter loseyourname
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the probability that the last two digits of the cube of a randomly chosen number between 1 and 100 are both 1. Participants explore various mathematical approaches, including algebraic expansions and modular arithmetic, to analyze the problem.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents an algebraic approach using the expansion of cubes and concludes that the last two digits of the cube depend solely on the last two digits of the number chosen.
  • Another participant suggests that using modulo arithmetic could simplify the problem, specifically looking for solutions to the equation x^3 ≡ 11 (mod 100).
  • Some participants note that there is only one whole number between 1 and 100 that satisfies the condition, specifically identifying 71 as a candidate.
  • There is a discussion about the properties of Z_100 and whether it forms a field, with some participants correcting each other on the nature of modular arithmetic in this context.
  • One participant proposes a shorter method to find the solution, emphasizing the importance of the last digit of the number and its squared value in determining the last two digits of the cube.

Areas of Agreement / Disagreement

Participants generally agree that there is only one number (71) that meets the criteria, but there is disagreement regarding the mathematical properties of the modular arithmetic involved, particularly whether Z_100 is a field or a group.

Contextual Notes

Some participants express uncertainty about the implications of using modular arithmetic and the conditions under which certain mathematical properties hold, particularly in relation to composite numbers.

Who May Find This Useful

This discussion may be useful for those interested in probability theory, modular arithmetic, and mathematical reasoning related to number theory.

loseyourname
Staff Emeritus
Gold Member
Messages
1,840
Reaction score
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?

[tex]n = (1, 2, . . ., 1000)[/tex]

[tex]n = x + y, \ x = (100, 200, . . ., 900), \ y = (1, 2, . . ., 100)[/tex]

[tex]n^3 = (x + y)^3 = x^3 + 3x^2y + 3xy^2 + y^3[/tex] =

[tex](x^3 + 3x^2y + 3xy^2) + y^3[/tex] =

[tex][x(x^2 + 3xy + 3y^2)] + y^3[/tex]

Given that [itex]x = (100, 200, . . ., 900)[/itex] the last two digits of [itex]xz[/itex] will be 00, so long as [itex]z[/itex] is a whole number.

Let [tex]z = x^2 + 3xy + 3y^2[/tex]

Because [itex]x[/itex] and [itex]y[/itex] are both whole numbers, [itex]z[/itex] will also be a whole number. Therefore, the last two digits of [itex]x(x^2 + 3xy + 3y^2)[/itex] are 00. (1)

Because [itex]n^3 = (x + y)^3 = x^3 + 3x^2y + 3xy^2 + y^3[/itex], the last two digits of [itex]n^3[/itex] depend solely on [itex]y^3[/itex] by (1). Therefore, I only need to calculate the probability that the last two digits of [itex]y^3[/itex] are 11.

Let [itex]A =[/itex] the last two digits of [itex]y^3[/itex] are 11.
[itex]N[/itex] = all possible values of [itex]y[/itex] = 100.
[itex]N(A)[/itex] = all values of [itex]y[/itex] such that [itex]y^3 = 100a + 11[/itex] (because the last two digits of [itex]n^3[/itex] independent of [itex]y^3[/itex] are 00).

[tex]y^3 = 100a + 11[/tex]

[tex]y = \sqrt[3]{100a + 11}[/tex]

Clearly there is only one solution to this equation, so [itex]N(A)[/itex] = 1, so

[tex]P(A) = \frac{N(A)}{N}[/tex] = 0.01
 
Last edited:
Physics news on Phys.org
You know, looking at this now, the solution doesn't look all that complicated, but it took me almost an hour to figure it out last night.
 
A lot of what you've done can be simplified if you use modulo arithmetic. You want to find the number of solutions to [tex]x^3 \equiv 11 \pmod{100}[/tex] where [tex]1 \leq x \leq 100[/tex]. Suppose [tex]x[/tex] is such a number that fulfils both equations. Then (by the very definition of modulo) there is an integer [tex]k[/tex] such that [tex]x^3 = 100k + 11[/tex], and apparently, one can immediatly see that this equation only has one solution (I don't understand how, but I'll take your word for it ;)).
 
Muzza said:
A lot of what you've done can be simplified if you use modulo arithmetic. You want to find the number of solutions to [tex]x^3 \equiv 11 \pmod{100}[/tex] where [tex]1 \leq x \leq 100[/tex]. Suppose [tex]x[/tex] is such a number that fulfils both equations. Then (by the very definition of modulo) there is an integer [tex]k[/tex] such that [tex]x^3 = 100k + 11[/tex], and apparently, one can immediatly see that this equation only has one solution (I don't understand how, but I'll take your word for it ;)).

I should have specified that y must be a whole number between 1 and 100. Only one whole number between 1 and 100 can be represented that way (71). "Clearly" is a little misleading.

By the way, I barely began to learn about congruence arithmetic. I never would have thought of that.
 
Muzza said:
A lot of what you've done can be simplified if you use modulo arithmetic. You want to find the number of solutions to [tex]x^3 \equiv 11 \pmod{100}[/tex] where [tex]1 \leq x \leq 100[/tex]. Suppose [tex]x[/tex] is such a number that fulfils both equations. Then (by the very definition of modulo) there is an integer [tex]k[/tex] such that [tex]x^3 = 100k + 11[/tex], and apparently, one can immediatly see that this equation only has one solution (I don't understand how, but I'll take your word for it ;)).

Well, it's a cubic in a field, so it has at most three, which is certainly close enough.

Alternatively:
You can also start by just looking at the last digit (i.e. residues mod 10):
[tex]0^3=0[/tex]
[tex]1^3=1[/tex]
[tex]2^3=8[/tex]
[tex]3^3=27[/tex]
[tex]4^3=64[/tex]
[tex]5^3=125[/tex]
[tex]6^3=216[/tex]
[tex]7^3=343[/tex]
[tex]8^3=512[/tex]
[tex]9^3=729[/tex]
Clearly for the number's cube to end in 1, the last digit of the number must be 1, you can then check the 10's digit - there are only 10.
 
Checking the numbers that end in 1 was a good idea... But I don't think Z_100 is a field though (since 100 is composite).
 
Muzza said:
Checking the numbers that end in 1 was a good idea... But I don't think Z_100 is a field though (since 100 is composite).

I certainly overlooked that issue when I posted, but I'm pretty sure that the set of numbers that are coprime with 100 and zero form a field. Since 11 is coprime with 100 it is still a cubic in a field.
 
Ah, I figured you meant the "entire" Z_100.

*edit* Okay, last nitpick of the day. The set of units modulo 100 won't form a field (3 + 7 doesn't have a multiplicative inverse), however, they will form a group ;)
 
Last edited:
Muzza said:
Ah, I figured you meant the "entire" Z_100.

*edit* Okay, last nitpick of the day. The set of units modulo 100 won't form a field (3 + 7 doesn't have a multiplicative inverse), however, they will form a group ;)

You are, of course, right. I must be feeling really bright today.
 
  • #10
A shorter answer for this question.

loseyourname said:
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?

This is actually an easier way and it is shorter than the amount I have written. But here the logical part of it is what solves the problem.

For the last number of the cube to be 1 the last digit of the number which you are calculating the cube should be 1. Which means it should be one pf the following.

x = The last digit is of a cube is 1 (1,11,21,31,41,51,61,71,81,91) = 10 numbers.

So for the second last digit of the cube to be 1 out of those 10 you first of all should get the squared value of those numbers and multiply it by the the number it self. (The example will be useful)

And the combination between the first number of the two digit number with the second last digit of the squared number will give a two digit number. And if the last digit of that number is 1 then the last two digits of the cube are both 1. And there could be only one number like that as each one of them obviously has separate different answers.

eg:- i.) 41*41=1681
...and 1681*41 and [4+8]; 4(first digit of the two gigit no.) + 8
(second last digit of the squared no.) (Here the answer is 12(4+8) So the last digit is 2 so it can't be the answer)

ii.) 71*71=5041
...and 5041*71 and [7+4]; Here the answer is 11. So the last So the second last digit of the cube is 1

So 71 is the only no. between 1 and 100 where the last two digits of its cube are both 1

And if there is only 1 number out of 100 numbers the probability is 1/100 that is 0.01

If you have any doubt about this contact me from the the following e mail supundikadl@yahoo.co.uk
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K