OFFSET
1,2
COMMENTS
Closely related to A079472 for terms with an even row. - Thomas Baruchel, Jul 28 2005
FORMULA
For n>1, a(n) = floor(phi^n*(14+6*sqrt(5))/10) -1
(1/10) {4*Lucas(n+3) - 2(-1)^[n/2] - (-1)^[(n-1)/2] - 15 }. - Ralf Stephan, Dec 02 2004
From Chai Wah Wu, Jan 23 2020: (Start)
a(n) = 2*a(n-1) - a(n-2) + a(n-3) - a(n-5) for n > 5.
G.f.: x*(x^2 + x + 1)/((x - 1)*(x^2 + 1)*(x^2 + x - 1)). (End)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 18 2004
STATUS
approved