login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A342615 a(0) = 0, a(1) = 1; a(2*n) = 9*a(n), a(2*n+1) = a(n) + a(n+1). 5
0, 1, 9, 10, 81, 19, 90, 91, 729, 100, 171, 109, 810, 181, 819, 820, 6561, 829, 900, 271, 1539, 280, 981, 919, 7290, 991, 1629, 1000, 7371, 1639, 7380, 7381, 59049, 7390, 7461, 1729, 8100, 1171, 2439, 1810, 13851, 1819, 2520, 1261, 8829, 1900, 8271, 8209, 65610, 8281, 8919, 2620 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f.: x * Product_{k>=0} (1 + 9*x^(2^k) + x^(2^(k+1))).
MAPLE
N:= 100: # for a(0) to a(N)
g:= x*mul(1+9*x^(2^k)+x^(2^(k+1)), k=0..ilog2(N)):
S:= series(g, x, N+1):
seq(coeff(S, x, i), i=0..N); # Robert Israel, May 04 2023
MATHEMATICA
a[0] = 0; a[1] = 1; a[n_] := If[EvenQ[n], 9 a[n/2], a[(n - 1)/2] + a[(n + 1)/2]]; Table[a[n], {n, 0, 51}]
nmax = 51; CoefficientList[Series[x Product[(1 + 9 x^(2^k) + x^(2^(k + 1))), {k, 0, Floor[Log[2, nmax]] + 1}], {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A135332 A098325 A101242 * A033046 A025635 A116555
KEYWORD
nonn,look
AUTHOR
Ilya Gutkovskiy, Mar 16 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 09:22 EDT 2024. Contains 371905 sequences. (Running on oeis4.)