OFFSET
1,5
COMMENTS
Or: Numbers whose square yields another square when written in base 5.
(For the first 3 terms, the above "base 5" interpretation is questionable, since they have only 1 digit in base 5. It is understood that dropping this digit yields 0.)
FORMULA
Empirical g.f.: x^4*(x^5+3*x^4+8*x^3+4*x^2+3*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=1, 2e9, issquare(n^2\b) && print1(sqrtint(n^2\b), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jan 15 2012
STATUS
approved