OFFSET
0,1
COMMENTS
Related to Reverse and Add trajectory of 22 in base 2: A061561(4*n) = 2*a(n).
Binary representation of a(n) for n > 0 is given by the following production rules of the contextfree grammar: S -> 101 T 0, T -> 1 T 0 | 101. - A.H.M. Smeets, Feb 11 2019
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (6,-8).
FORMULA
a(n) = 24*4^n-3*2^n for n > 0.
G.f.: (1+4*x)*(11-20*x)/((1-2*x)*(1-4*x)).
PROG
(PARI) {m=21; v=concat([11, 90, 372], vector(m-3)); for(n=4, m, v[n]=6*v[n-1]-8*v[n-2]); v}
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Dec 09 2009
STATUS
approved