OFFSET
1,3
COMMENTS
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. - M. F. Hasler, Jan 15 2012
FORMULA
Empirical g.f.: -x^2*(9*x^11 +49*x^10 +324*x^9 +81*x^8 -698*x^7 -698*x^6 -968*x^5 -242*x^4 +49*x^3 +9*x^2 +4*x +1) / ((x -1)*(x +1)*(x^2 -4*x -1)*(x^2 +1)*(x^2 +4*x -1)*(x^4 +18*x^2 +1)). - Colin Barker, Sep 15 2014
EXAMPLE
a(4) = 49 because 49 = 7^2 = 144 base 5 and 14 base 5 = 9 = 3^2.
PROG
(PARI) b=5; for(n=1, 2e9, issquare(n^2\b) && print1(n^2, ", ")) \\ M. F. Hasler, Jan 15 2012
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Jul 14 2000
EXTENSIONS
More terms added and offset changed to 1 by M. F. Hasler, Jan 15 2012
STATUS
approved