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!)
A367736 a(0) = 1; for n > 0, a(n) is the coefficient of x^a(n-1) in the expansion of Product_{k=0..n-1} (x^a(k) + 1 + 1/x^a(k)). 0
1, 1, 2, 4, 6, 11, 19, 32, 58, 97, 163, 290, 501, 856, 1483, 2561, 4424, 7652, 13273, 23024, 39784, 69001, 119614, 207042, 358746, 621117, 1075865, 1864050, 3227724, 5590548, 9682402, 16770033, 29049713, 50310453, 87142439, 150939346, 261424583, 452810957 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
MATHEMATICA
a[0] = 1; a[n_] := a[n] = Coefficient[Product[x^a[k] + 1 + 1/x^a[k], {k, 0, n - 1}], x, a[n - 1]]; Table[a[n], {n, 0, 28}]
PROG
(Python)
from itertools import islice
from collections import Counter
def A367736_gen(): # generator of terms
c, b = {0:1}, 1
while True:
yield b
d = Counter(c)
for k in c:
e = c[k]
d[k+b] += e
d[k-b] += e
c = d
b = c[b]
A367736_list = list(islice(A367736_gen(), 20)) # Chai Wah Wu, Feb 05 2024
CROSSREFS
Sequence in context: A115993 A136424 A116732 * A048239 A000786 A289080
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Jan 24 2024
EXTENSIONS
a(29)-a(37) from Chai Wah Wu, Feb 05 2024
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 May 1 01:27 EDT 2024. Contains 372143 sequences. (Running on oeis4.)