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!)
A369879 Number of different coefficient values in expansion of Product_{k=1..n} (1-x^k). 1
1, 2, 2, 3, 4, 3, 4, 5, 5, 5, 5, 5, 6, 7, 7, 9, 9, 11, 12, 15, 16, 17, 21, 23, 25, 33, 35, 41, 43, 53, 55, 77, 74, 97, 85, 135, 111, 175, 131, 223, 157, 269, 187, 315, 219, 375, 245, 437, 280, 505, 320, 593, 357, 671, 398, 761, 445, 825, 489, 933, 529, 1039, 576, 1119, 627, 1211, 682, 1309, 730, 1415 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
PROG
(PARI) a(n) = #Set(Vec(prod(k=1, n, 1-x^k)));
(Python)
from collections import Counter
def A369879(n):
c = {0:1}
for k in range(1, n+1):
d = Counter(c)
for j in c:
d[j+k] -= c[j]
c = d
return len(set(c.values()))+int(max(c)+1>len(c)) # Chai Wah Wu, Feb 04 2024
CROSSREFS
Sequence in context: A340458 A185977 A204006 * A106251 A134478 A051162
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 04 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 April 28 14:09 EDT 2024. Contains 372087 sequences. (Running on oeis4.)