OFFSET
0,1
COMMENTS
Related to Reverse and Add trajectory of 22 in base 2: A061561(4*n+1) = a(n).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (7,-14,8).
FORMULA
a(n) = 48*4^n+18*2^n-3 for n > 0.
G.f.: (35-20*x-248*x^2+224*x^3)/((1-x)*(1-2*x)*(1-4*x)).
MATHEMATICA
LinearRecurrence[{7, -14, 8}, {35, 225, 837, 3213}, 30] (* Harvey P. Dale, Mar 22 2018 *)
PROG
(PARI) {m=22; v=concat([35, 225, 837], vector(m-3)); for(n=4, m, v[n]=6*v[n-1]-8*v[n-2]-9); v}
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Dec 09 2009
STATUS
approved