login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A116555
a(2*n+1) = 9*a(n), a(2*n+2) = 10*a(n) + a(n-1).
6
1, 9, 10, 81, 91, 90, 109, 729, 820, 819, 991, 810, 991, 981, 1180, 6561, 7399, 7380, 8929, 7371, 9010, 8919, 10729, 7290, 9091, 8919, 10720, 8829, 10801, 10620, 12781, 59049, 66790, 66591, 80551, 66420, 81199, 80361, 96670, 66339, 82639, 81090
OFFSET
0,2
LINKS
FORMULA
From G. C. Greubel, Oct 30 2016: (Start)
a(2*n+1) = 9*a(n).
a(2*n+2) = 10*a(n) + a(n-1). (End)
MATHEMATICA
b[0] := 0; b[1] := 1;
b[n_?EvenQ] := b[n] = 9*b[n/2];
b[n_?OddQ] := b[n] = 10*b[(n - 1)/2] + b[(n - 3)/2];
Table[b[n], {n, 1, 70}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Mar 15 2006
EXTENSIONS
New name using formula, Joerg Arndt, Dec 17 2022
STATUS
approved