OFFSET
1,1
COMMENTS
All nonsquare numbers of the form 40n+1 or 40n+9 multiplied by a power of 4 times a power of 25.
EXAMPLE
41 is in the sequence because there are square numbers ending in ...00041 for any number of zeros.
49 isn't in the sequence because it is a perfect square.
50 isn't in the sequence because there are no squares ending in 50.
PROG
(PARI) al(n) = {local(r=vector(n), x41, x49, i4=1, x4, i25=1, x25);
x41=41; x49=89; x4=4*41; x25=25*41;
for(k=1, n, r[k]=min(min(x41, x49), min(x4, x25));
if(r[k]==x41, while(issquare(x41+=40), 0));
if(r[k]==x49, while(issquare(x49+=40), 0));
if(r[k]==x4, x4=4*r[i4++]);
if(r[k]==x25, x25=25*r[i25++]));
r} \\ Franklin T. Adams-Watters, Apr 18 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
J. Lowell, Apr 15 2014
EXTENSIONS
More terms from Franklin T. Adams-Watters, Apr 18 2014
STATUS
approved