Difference between revisions of "2005 iTest Problems/Problem 27"

(Created page with "==Problem== Find the sum of all non-zero digits that can repeat at the end of a perfect square. (For example, if <math>811</math> were a perfect square, <math>1</math> would b...")
 
(Solution 1)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Find the sum of all non-zero digits that can repeat at the end of a perfect square. (For example, if <math>811</math> were a perfect square, <math>1</math> would be one of these non-zero digits.)
 
Find the sum of all non-zero digits that can repeat at the end of a perfect square. (For example, if <math>811</math> were a perfect square, <math>1</math> would be one of these non-zero digits.)
 
==Solution 1==
 
==Solution 1==
We seek nonzero digits such that some square ends with the digit repeated. Squares modulo 4 are only 0 or 1, so 11, 22, 55, 66, and 99 are ruled out immediately (since they are 3,2,3,2,3 (mod 4). Out of the remaining numbers, since a square can have a last digit belonging to the set {<math>0,1,4,5,6,9</math>}, 33, 77, and 88 are ruled out as well. This leaves only 44. Our answer therefore is <math>\boxed{4}</math>.
+
We seek nonzero digits such that some square ends with the digit repeated. Squares modulo 4 are only 0 or 1, so 11, 22, 55, 66, and 99 are ruled out immediately (<math>3,2,3,2,3\mod 4</math>)). Out of the remaining numbers, since a square can have a last digit belonging to the set {<math>0,1,4,5,6,9</math>}, 33, 77, and 88 are ruled out as well. This leaves only 44. Our answer therefore is <math>\boxed{4}</math>.
 +
 
 
==See Also==
 
==See Also==
 
{{iTest box|year=2005|num-b=26|num-a=28}}
 
{{iTest box|year=2005|num-b=26|num-a=28}}
  
 
[[Category: Intermediate Number Theory Problems]]
 
[[Category: Intermediate Number Theory Problems]]

Latest revision as of 20:22, 13 October 2025

Problem

Find the sum of all non-zero digits that can repeat at the end of a perfect square. (For example, if $811$ were a perfect square, $1$ would be one of these non-zero digits.)

Solution 1

We seek nonzero digits such that some square ends with the digit repeated. Squares modulo 4 are only 0 or 1, so 11, 22, 55, 66, and 99 are ruled out immediately ($3,2,3,2,3\mod 4$)). Out of the remaining numbers, since a square can have a last digit belonging to the set {$0,1,4,5,6,9$}, 33, 77, and 88 are ruled out as well. This leaves only 44. Our answer therefore is $\boxed{4}$.

See Also

2005 iTest (Problems, Answer Key)
Preceded by:
Problem 26
Followed by:
Problem 28
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 TB1 TB2 TB3 TB4