OFFSET
1,3
COMMENTS
LINKS
M. F. Hasler, Truncated squares, OEIS wiki, Jan 16 2012.
Index entries for linear recurrences with constant coefficients, signature (0,35,0,-35,0,1)
FORMULA
a(n) = A204514(n)^2. - M. F. Hasler, Jan 15 2012
Empirical g.f.: -x^2*(4*x+1)*(9*x^4-26*x^2+1) / ((x-1)*(x+1)*(x^2-6*x+1)*(x^2+6*x+1)). - Colin Barker, Sep 15 2014
EXAMPLE
a(5) = 289 because 289 = 17^2 = 441 base 8 and 44 base 8 = 36 = 6^2.
MATHEMATICA
Select[Range[0, 8*10^6]^2, IntegerQ[Sqrt[FromDigits[Most[ IntegerDigits[ #, 8]], 8]]]&] (* Harvey P. Dale, Aug 02 2016 *)
PROG
(PARI) b=8; for(n=1, 200, issquare(n^2\b) && print1(n^2, ", ")) \\ M. F. Hasler, Jan 15 2012
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Henry Bottomley, Jul 14 2000
EXTENSIONS
More terms added and offset changed to 1 by M. F. Hasler, Jan 15 2012
STATUS
approved