OFFSET
1,3
COMMENTS
Or, numbers n such that n^2, with its last base-9 digit dropped, is again a square. (Except maybe for the 3 initial terms whose square has only 1 digit in base 9.)
LINKS
M. F. Hasler, Truncated squares, OEIS wiki, Jan 16 2012
FORMULA
Conjecture: a(n) = 3*n-12 for n>5. G.f.: x^2*(x^2+x+1)*(x^3-x+1)/(x-1)^2. [Colin Barker, Nov 23 2012]
MATHEMATICA
Select[Range[0, 200], IntegerQ[Sqrt[Floor[#^2/9]]]&] (* Harvey P. Dale, May 05 2018 *)
PROG
(PARI) b=9; for(n=0, 200, issquare(n^2\b) & print1(n", "))
CROSSREFS
The squares are in A204503, the squares with last base-9 digit dropped in A204504, and the square roots of the latter in A028310.
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jan 15 2012
STATUS
approved