OFFSET
0,1
COMMENTS
From Klaus Brockhaus, Dec 10 2009: (Start)
Also continued fraction expansion of 3 + 4*sqrt(15)/5.
Binomial transform of 6 followed by A122803 without initial terms 1,-2.
Inverse binomial transform of A171494. (End)
LINKS
FORMULA
a(n) = -2*(-1)^n + 8. - Paolo P. Lava, Oct 27 2006
From Klaus Brockhaus, Dec 10 2009: (Start)
a(n) = a(n-2) for n > 1; a(0) = 6, a(1) = 10.
G.f.: 2*(3+5*x)/((1-x)*(1+x)). (End)
MATHEMATICA
LinearRecurrence[{0, 1}, {6, 10}, 90] (* or *) PadRight[{}, 90, {6, 10}] (* Harvey P. Dale, Mar 07 2015 *)
PROG
(Magma) &cat[ [6, 10]: n in [1..42] ]; // Klaus Brockhaus, Dec 10 2009
(PARI) a(n)=6+n%2*4 \\ Charles R Greathouse IV, Dec 21 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved