OFFSET
1,3
COMMENTS
Also: Numbers whose square, with its last base-5 digit dropped, is again a square. (For the three initial terms whose squares have only one digit in base 5, it is then understood that this yields zero.)
FORMULA
a(n) = sqrt(A055812(n)).
Empirical g.f.: -x^2*(x+1)*(3*x^6 + 4*x^5 + 14*x^4 - 5*x^3 - 2*x^2 - x-1) / ((x^4 - 4*x^2 - 1)*(x^4 + 4*x^2 - 1)). - Colin Barker, Sep 15 2014
PROG
(PARI) b=5; for(n=0, 2e9, issquare(n^2\b) && print1(n", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jan 15 2012
STATUS
approved