OFFSET
1,2
FORMULA
Beginning with term a(6) the following pattern applies: a(4k)=0; a(4k+1)=10^4k=(10^2k)^2; a(4k+2)=0; a(4k+3)=(10^(2k+1)+2)^2. - Ray Chandler, Aug 03 2003
EXAMPLE
a(3) = 144 as 144 and 4 are both squares.
a(4) = 1369 as 1369 and 36 are both squares.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 07 2002
EXTENSIONS
Corrected and extended by Ray Chandler, Aug 03 2003
STATUS
approved