All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Square Digits (Posted on 2024-03-12) Difficulty: 3 of 5
Are there squares S = n2 such that when you add S and its digits the result is also a square?

For example, if S were 25 then 25+2+5 would also have to be a square.

If so, give an example.
If not, prove it.

  Submitted by K Sengupta    
Rating: 5.0000 (1 votes)
Solution: (Hide)
If S is NOT divisible by 9, then we observe that:
S ≡ 1,4,7(mod 9)
=> sod (S) ≡ 1,4,7 (mod 9)
Hence:
S+sod(S) ≡ 2, 5, 8 (mod 9).
However, 2,5,8 are not quadratic residues in the mod 9 system.
Therefore, S+ sod(S) can never be a perfect square, whenever S is NOT divisible by 9.

Let S'= S/(9^x). Of course, for some value of x>=1, it follows that S'=S/(9^x) is NOT divisible by 9.
Then, by previous arguments, it follows that:
Therefore, it follows that S+sod(S) is NOT a perfect square whenever S is divisible by 9, except when S=0
Consequently, except for the trivial S=0, there does NOT exist squares S = n^2 such that when you add S and its digits the result is also a square.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
re: yesK Sengupta2024-03-21 14:31:51
yesDaniel Adams2024-03-20 15:47:34
No SubjectK Sengupta2024-03-20 08:47:47
niceBeatrice Monroe2024-03-20 04:38:21
Trivial solution not excluded from problem?Kenny M2024-03-12 16:57:55
SolutionSolutionLarry2024-03-12 12:27:43
SolutionsolutionCharlie2024-03-12 12:18:46
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (5)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (10)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information