OFFSET
1,2
COMMENTS
This is one of only two Lucas-type sequences whose 8th term is a square.
The other one is A006131. - Michel Marcus, Dec 07 2012
LINKS
A. Bremner and N. Tzanakis, Lucas sequences whose 8th term is a square
Index entries for linear recurrences with constant coefficients, signature (4,17).
FORMULA
G.f.: 1/(1-4x-17x^2).
MAPLE
f:= gfun:-rectoproc({a(n) = 4*a(n-1) + 17*a(n-2), a(1)=1, a(2)=4}, a(n), remember): map(f, [$0..20]); # Georg Fischer, Jun 18 2021
PROG
(Maxima)
a[0]:0$
a[1]:1$
a[n]:=4*a[n-1] + 17*a[n-2]$
A097705(n):=a[n]$
makelist(A097705(n), n, 1, 30); /* Martin Ettl, Nov 03 2012 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Aug 27 2004
EXTENSIONS
Definition adapted to offset by Georg Fischer, Jun 18 2021
STATUS
approved