OFFSET
0,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,0,0,1,-2).
FORMULA
a(n) + a(n+2) = A005578(n).
a(n) = (2^n - 1)/15 if n == 0 (mod 4), (2^n - 2)/15 if n == 1 (mod 4), (2^n + 11)/15 if n == 2 (mod 4), (2^n + 7)/15 if n == 3 (mod 4). - Robert Israel, Mar 14 2023
MAPLE
B:= [-1, -2, 11, 7]:
seq((2^n + B[(n mod 4)+1])/15, n=0..50); # Robert Israel, Mar 14 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Creighton Dement, Mar 29 2006
STATUS
approved