OFFSET
1,1
COMMENTS
Partial sums are in A164096.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (0, 2).
FORMULA
MATHEMATICA
LinearRecurrence[{0, 2}, {5, 6}, 50] (* or *) With[{nn=20}, Riffle[NestList[ 2#&, 5, nn], NestList[2#&, 6, nn]]] (* Harvey P. Dale, Aug 15 2020 *)
PROG
(Magma) [ n le 2 select n+4 else 2*Self(n-2): n in [1..40] ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Aug 10 2009
STATUS
approved