MathDB
Longest Tail on Perfect Squares

Source: 1989 IrMO Paper 1 Problem 4

September 29, 2017
number theory

Problem Statement

Note that 122=14412^2=144 ends in two 44s and 382=144438^2=1444 end in three 44s. Determine the length of the longest string of equal nonzero digits in which the square of an integer can end.