OFFSET
1,2
COMMENTS
When a square ends in exactly three identical digits, these digits are necessarily 444 (A039685).
When a square ends with n > 3 identical digits, these last digits are necessarily 0's, and also this is only possible when n is even.
Differs from A174499 where only at least n identical digits are required.
FORMULA
a(2*n+1) = 0 for n >= 2.
a(2*n) = A119511(2*n) * 10^n, for n >= 2.
EXAMPLE
a(2) = 88 because 88^2 = 7744 starts with two 7's and ends with two 4's, and 88 is the smallest integer whose square starts and ends with exactly 2 identical digits.
a(4) = 235700 because 235700^2 = 55554490000 starts with four 5's and ends with four 0's, and 235700 is the smallest integer whose square starts and ends with exactly 4 identical digits.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Aug 07 2021
STATUS
approved