OFFSET
1,3
COMMENTS
Or: Numbers whose square, with its last base-6 digit dropped, is again a square. (For the three initial terms whose square has only one digit in base 6, this is then meant to yield zero.)
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,10,0,0,-1).
FORMULA
a(n) = sqrt(A055851(n)).
From Colin Barker, Sep 18 2014: (Start)
a(n) = 10*a(n-3) - a(n-6) for n > 7.
G.f.: -x^2*(x+1)*(3*x^4 + 7*x^3 - 2*x^2 - x - 1) / (x^6-10*x^3+1). (End)
PROG
(PARI) b=6; for(n=0, 2e9, issquare(n^2\b) & print1(n", "))
(PARI) concat(0, Vec(-x^2*(x+1)*(3*x^4+7*x^3-2*x^2-x-1)/(x^6-10*x^3+1) + O(x^100))) \\ Colin Barker, Sep 18 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Jan 15 2012
EXTENSIONS
More terms from Colin Barker, Sep 18 2014
STATUS
approved