How many triplets of digits are there, such that the above integer of digits is always a perfect square for any non-negative integer ?
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.
Checking with the first three N , we found two acceptable triplets of ( A , B , C ) as follows:
⎩ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎧ N = 0 N = 1 N = 2 ⟹ { 1 6 = 4 2 4 9 = 7 2 ⟹ { 1 1 5 6 = 3 4 2 4 4 8 9 = 6 7 2 ⟹ { 1 1 1 5 5 6 = 3 3 4 2 4 4 4 8 8 9 = 6 6 7 2
The two acceptable triplets of ( A , B , C ) appear to be ( 1 , 5 , 6 ) and ( 4 , 8 , 9 ) . Let us prove by induction that they are true for all N ≥ 0 by proving the following two claims.
Claim 1 : N 3 ′ s 3 3 3 ⋯ 3 4 2 = ( N + 1 ) 1 ′ s 1 1 1 ⋯ 1 N 5 ′ s 5 5 5 ⋯ 5 6
Assume that the claim is true for N , then we have:
( N + 1 ) 3 ′ s 3 3 3 ⋯ 3 4 2 = ( 3 ⋅ 1 0 N + 1 + N 3 ′ s 3 3 3 ⋯ 3 4 ) 2 = 9 ⋅ 1 0 2 N + 2 + 6 ⋅ 1 0 N + 1 ⋅ N 3 ′ s 3 3 3 ⋯ 3 4 + N 3 ′ s 3 3 3 ⋯ 3 4 2 = 9 ( 2 N + 2 ) 0 ′ s 0 0 0 ⋯ 0 + 2 N 0 ′ s 0 0 0 ⋯ 0 4 ( N + 1 ) 0 ′ s 0 0 0 ⋯ 0 + ( N + 1 ) 1 ′ s 1 1 1 ⋯ 1 N 5 ′ s 5 5 5 ⋯ 5 6 = ( ( N + 1 ) + 1 ) 1 ′ s 1 1 1 ⋯ 1 ( N + 1 ) 5 ′ s 5 5 5 ⋯ 5 6
The claim is true for N + 1 , hence it is true for all N ≥ 0 .
Claim 2 : N 6 ′ s 6 6 6 ⋯ 6 7 2 = ( N + 1 ) 4 ′ s 4 4 4 ⋯ 4 N 8 ′ s 8 8 8 ⋯ 8 9
Assume that the claim is true for N , then we have:
( N + 1 ) 6 ′ s 6 6 6 ⋯ 6 7 2 = ( 6 ⋅ 1 0 N + 1 + N 6 ′ s 6 6 6 ⋯ 6 7 ) 2 = 3 6 ⋅ 1 0 2 N + 2 + 1 2 ⋅ 1 0 N + 1 ⋅ N 6 ′ s 6 6 6 ⋯ 6 7 + N 6 ′ s 6 6 6 ⋯ 6 7 2 = 3 6 ( 2 N + 2 ) 0 ′ s 0 0 0 ⋯ 0 + 2 ( N + 1 ) 0 ′ s 0 0 0 ⋯ 0 4 ( N + 1 ) 0 ′ s 0 0 0 ⋯ 0 + ( N + 1 ) 4 ′ s 4 4 4 ⋯ 4 N 8 ′ s 8 8 8 ⋯ 8 9 = ( ( N + 1 ) + 1 ) 4 ′ s 4 4 4 ⋯ 4 ( N + 1 ) 8 ′ s 8 8 8 ⋯ 8 9
The claim is true for N + 1 , hence it is true for all N ≥ 0 .
Therefore, the answer is 2 .