OFFSET
0,1
COMMENTS
Numbers n such that (n^2-4)/7 is a square. - Colin Barker, Mar 17 2014
LINKS
FORMULA
a(n) = (8+sqrt(63))^n + (8-sqrt(63))^n.
a(n)^2 = a(2n) + 2.
G.f.: (2-16*x)/(1-16*x+x^2). - Philippe Deléham, Nov 02 2008
a(n) = 2 * A001081(n). - R. J. Mathar, Nov 30 2008
MATHEMATICA
a[0] = 2; a[1] = 16; a[n_] := 16a[n - 1] - a[n - 2]; Table[ a[n], {n, 0, 15}] (* Robert G. Wilson v, Jan 30 2004 *)
LinearRecurrence[{16, -1}, {2, 16}, 20] (* T. D. Noe, Mar 17 2014 *)
PROG
(Sage) [lucas_number2(n, 16, 1) for n in range(0, 20)] # Zerinvary Lajos, Jun 26 2008
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Nikolay V. Kosinov (kosinov(AT)unitron.com.ua), Jan 18 2004
EXTENSIONS
More terms from Robert G. Wilson v, Jan 30 2004
STATUS
approved