How many perfect squares have the property that all of their digits are equal?
Note: 0 = 0 2 is a perfect square.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Can you explain "Since 9 ( 1 0 n + 1 − 1 ) ≡ 3 ( m o d 4 ) , we see that p must be 3, 4, 7, or 8 in order for b 2 to have a proper quadratic residue. This leaves 4 to be the only candidate"?
Also, how do you know that " 9 ( 1 0 n + 1 − 1 ) isn't a square number"?
How did you use the fact that n > 0 ?
Great that you're attempting to prove this, instead of just claiming that the only solutions are 0, 1, 4, 9.
Some questions:
Can you explain "Since 9 ( 1 0 n + 1 − 1 ) ≡ 3 ( m o d 4 ) , we see that p must be 3, 4, 7, or 8 in order for b 2 to have a proper quadratic residue. This leaves 4 to be the only candidate"?
Also, how do you know that " 9 ( 1 0 n + 1 − 1 ) isn't a square number"?
How did you use the fact that n > 0 ?
Log in to reply
We know that 9 ( 1 0 n + 1 − 1 ) isn't a square number, because its remainder modulo 4 is 3, and it has to be either 0 or 1 for it to be a square number.
We use the fact that n > 0 when we have to show that 9 ( 1 0 n + 1 − 1 ) isn't a square number. If n = 0 the remainder would be 1 modulo 4, hence d would need to have remainder 0 or 1 modulo 4, which would make it a square number. Since n = 0 implies that b 2 is a single digit, we see that the only possibilities for d are 0, 1, 4, and 9; the square numbers of one digit.
I don't know if its rigorous enough, or if I've made a mistake somewhere.
Should I edit the explanations into my solution?
Log in to reply
Yes please!
With this in place, you will have a complete rigorous solution.
Log in to reply
@Calvin Lin – Woops! I don't know how p snuck in there - but I've edited my solution. Hopefully it's adequate.
I'm assuming you meant d ≡ 0 , 3 ( m o d 4 ) in (1).
Log in to reply
@Fætter Guf – Great! I've made some edits to improve the explanation :)
Log in to reply
@Calvin Lin – This question is unclear as what is expected, brilliant staff needs to review before posting
Log in to reply
@Fio Alp – This question looks fine to me. Can you explain what the issue you are having is? Specifically, what part is "unclear"?
Log in to reply
@Calvin Lin – At first glance, I thought the question required both the perfect square number and its root to have the same digits. (I think I partly got this thinking from the example.) This only happens with 0 and 1. When 2 was not the correct answer, I reread the question and realized that only the perfect square number was to have the same digits. However, if the question is made more explicit, there may not be much of a question left.
@Calvin Lin – How did we get the equality 9 1 0 n + 1 − 1 ≡ 3 ( m o d 4 ) ?
Sir , I Cant understand the question at all .. can you please clarify
Log in to reply
Can you clarify which part of the question you do not understand?
Do you know all of the terms used?
Do you know what the sentence means?
Where did you get stuck in understanding?
what is the question here?, if someone is unclear in their question should not be allowed to post it here.
I don't understand. What is "equal"? All the squares are equal. If you mean "the same" then the only way I understand it is if 0 and 1 fit the answer.
Log in to reply
"All of the digits are equal". So, in the case of the square number 16, the digits are 1 and 6, and the digits are not equal.
What is modulo?
The ans is:0,1,4,9 which is 0^2,1^2,2^2,3^2
this question is ambiguous.. "How many perfect squares have the property that all of their digits are equal?"....digits are "equal"????shouldnt it be digits are the "same"???
Agreed, i had no idea what this meant. Terribly worded question xD the answer should be 2: 0^2=0 and 1^2=1, where all the digits are actually equal..
Oh, so it means the perfect square and the square root have the SAME NUMBER OF DIGITS?
Dang, that's a terribly-worded question.
udvat question it is.............. ha ha ha !!!!!!!!!!!!!!!! ans tar mathamundu bujhlam na
It should say that the digits within the square are equal to each other. Faulty wording.
A correct answer could be 4, since there are 4 perfect squares that have the property etc. The question does not ask to list them.
I hate this problem because it's literally a troll problem 😓😓 they made this to screw with us
Yes, this question had me thinking of a
x^2=x question format this question isn't just terribly worded, they are not actually asking you to do the thing that is the supposed solution.
Perfect circles could stand with more explanation in the context of the question too
Viewing solutions hasn't even really led me to understand what the question really should be.
What the hell is this question asking about?????????
0, 1, 4 and 9.
What is the question actually asking??
dang it!!I entered 3(1,4,9).
Log in to reply
yea I missed 0 too in the first try..
enter 3 , than 4
I am lazy to type out the whole solution using latex. But here is how I did it:
First prove that a number(say x ) containing only 1's with more that 1 digit cannot be a square since it always leaves a remainder of 3 when divided by 4. Then every number in the form a a . . . a a with n a's is a multiple of x with n 1's. Doing some casework it can be proved that a a . . . a a is not a perfect square when there are more than 1 a's. Hence such a number can have only one digit. Therefore the possible values are 0,1,4,9.
@Satvik Golechha Please do tell me if have made a mistake(s).
Log in to reply
Perfect, @milind prabhu . Why don't you make it a solution, looks great!
yeah but why is this a level 4 problem? a number with same digits mean it is divisible by a string of 1's with the same number of digits. so a number with more than one digit cant satisfy the problem.
Log in to reply
Maybe it's a level 4 because of the proof of the same...
Log in to reply
hey what about this? try the square of the number 3333333 and just keep adding 3 so on you will get you answers in terms of number which contain only 1 and W.R.T. your question you did not mention that the number should be a two digit or a 3 digit number SO YOUR QUESTION WRONG! So should i report to Calvin Lin or you should better change the statement of your question!
The answer is any square. Equal numbers is what makes it a square. Duh...
This is a poorly worded question...
Log in to reply
I agree to this, poorly worded.... I had to view the solve!
What did it mean by equal digit?
When all digits are same, the number is
AAAA.......n times, and it is also a perfect square. Which means A×1111...n times is a perfect square. But 111....n times is equal to, = 1+10 +10^2+.......+10^(n-1)=(10^n -1)/9.
This implies that A as well as this sum should each be a perfect square separately.
Let (10^n - 1)/9 = b^2,
then 10^n - 9b^2 = 1,
=> (root 10^n + 3b )(root 10^n - 3b)= 1×1
=> n = 0 and b = 0, which mean that the number is A×(10^0)= A, a single digit
number.
So, A = 0, 1, 4 and 9 are possible answers.
The first clear explanation in date, among the ones above.
Could you explain why " This implies that A as well as this sum should each be a perfect square separately. "?
I need some help. I guessed and got it right, but I definitely do not understand this question at all. Which to me, makes my answer wrong. What exactly is a perfect square?? And what is meant by "have the property that all of their digits are equal"?? Thanks for the help.
A number of the same digits, as seen in other solutions, must be divisible by a number made of only 1s. However, these numbers can only be divisible by themselves, 1, and the set of 3 and the 037 string if the number of 1s is divisible by 3.
However, the 1 string has to be multiplied by itself in order to have this be a perfect square. Thus, the only 1 string that fits is 1 itself - so they have to be 1 digit perfect squares.
The positive single-digit perfect squares are 1, 4, and 9. However, 0 is also a perfect square too: 0 2 = 0
How about 7 as an answer? Is (-3)^2 a different square than (+3)^2 They both result in +9, but are they different squares?
Then a 2 < 1 0 or a < 1 0 that a is a integer which is 0 , 1 , 2 , 3
The solution is to prove that no same digit serie with a length > 1 can be a perfect square. If it was it'll be obviously something like 111111... , 444444.... or 9999..... because of 1, 2^2, 3^3 multiplying 11111... So we have to prove that any serie of 1 cannot be a perfect square. It s obvious for 11 as a prime number so what about length > 3. Lets analyse the 2 last digits of the root of this hypothetical square. It would be something like A1 or A9 because only 1 and 9 squares ends by 1. the squares of such roots should have thoses patterns on their 2 last digits : - A1 : 2 A ;1 : 2 A cannot end by 1 (even) - A9 :18 A +8;1 : 18 A +8 cannot end by 1 - If it was the case 18*A should end by 3 - Impossible So the solution is 0,1,4 and 9
Since, there is no such no. greater than equal to 2 digits having ALL the digits same and the number being a perfect square, we need to choose only 1 digit perfect squares. Those are 0= 0 2 , 1= 1 2 , 4= 2 2 , 9= 3 2 . Thus, these 4 digits are the required answers.
It could be thought as since the digits are to be same then all the single digit perfect square(0,1,4,9) would be the answer plus we have to check whether any unit multiple (i.e 0-9) of numbers like 11,111,1111 and similarly 1111111...... would be perfect square and it is simple to see they won't be.
There are only 22 possible endings for perfect square numbers. 11 is not one of them. All square numbers end in either 00, 01, 04, 09, 16, 21, 24, 25, 29, 36, 41, 44, 49, 56, 61, 64, 69, 76, 81, 84, 89 or 96.
What if i say -1,-2,-3 are also the solutions
All square integers end in either 0, 1,4,9,6,5. So if there is a square S with all digits equal it must be dddd..d where d is one of 0,1,4,5,6,9. Further if the number has n decimal places and d is 1,4, or 9 easy to see that S/d is a square with all its digits equal to 1. On the other hand if d=6, 6^2 must divide S and so 6 must divide S/d which is odd, a contradiction. If d=5, 5^2 divides S and so 5 divides S/d, that is impossible because S/d ends in 1 and any number divisible by 5 must end in either 5 or 0. The question is reduced to finding all squares whose digits are all equal to 1. In this case if S has n digits, S=1+ 10^1+.......+10^(n-1) which is equal to (10^n-1)/9= (say) b^2. Thus (10^n-1)=(3b)^2 which is congruent to 1 mod 4 because 3b is odd. Thus 10^n is congruent to 2 mod 4. That is impossible unless n=1. This means S=1. Hence the only possibilities are 0,1,4,9.
x x x . . . x = 1 1 1 . . . 1 x , 0 ≤ x ≤ 9 .
When number is higher than 1 digit, we need 111...1 to be equal to x for the number to be a perfect square. However, since x can not be higher than 9, we are looking for one digit numbers.
Next we check for the perfect squares lesser or equal to 9. There are 4 such ones.
Problem Loading...
Note Loading...
Set Loading...
Firstly, let d be the single digit 1 ≤ d ≤ 9 that the square number is composed of. d can then only be 1, 4, 5, 6, or 9 because of the last digit of square numbers.
Secondly, assume b 2 is a square number with the wanted properties: b 2 b 2 b 2 = d × 1 0 n + d × 1 0 n − 1 + . . . + d × 1 0 + d , n ≥ 0 = d ( 1 0 n + 1 0 n − 1 + . . . + 1 0 + 1 ) = 9 d ( 1 0 n + 1 − 1 )
Case 1: n > 0 .
Considering quadratic residues modulo 4, we have b 2 ≡ 0 , 1 ( m o d 4 ) . Since 9 ( 1 0 n + 1 − 1 ) ≡ 3 ( m o d 4 ) , this means that we must have d ≡ 0 , 3 ( m o d 4 ) . Hence, d = 3 , 4 , 7 , or 8 . Referencing the possible last digits of a square, this means that we can only have d = 4 . Notice that since 9 ( 1 0 n + 1 − 1 ) ≡ 3 ( m o d 4 ) , it is not a square number. Hence 4 × 9 ( 1 0 n + 1 − 1 ) ≡ 3 ( m o d 4 ) is also not a perfect square. Thus, there are no solutions in this case.
Case 2: n = 0
If n = 0 , then we are looking at single digit numbers. The only possibilities for d are 0, 1, 4, and 9; the square numbers of one digit.
So there are 4 square numbers with all of their digits equal.