login
A069935
Maximal power of 2 that divides the n-th partition number.
2
1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 2, 8, 1, 1, 1, 16, 1, 1, 1, 2, 1, 8, 2, 1, 1, 2, 4, 2, 2, 1, 4, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 4, 1, 2, 4, 4, 1, 1, 4, 1, 2, 2, 64, 1, 1, 1, 32, 1, 1, 1, 4, 8, 1, 1, 4, 2, 4, 1, 1, 1, 4, 1, 2, 1, 1, 1, 1, 1, 1, 1, 8, 1, 2048, 2, 8, 1, 4, 2, 1, 2, 1, 1, 16, 1
OFFSET
0,3
LINKS
FORMULA
From Amiram Eldar, May 25 2024: (Start)
a(n) = A006519(A000041(n)).
a(n) = 2^A278478(n). (End)
MATHEMATICA
a[n_] := 2^IntegerExponent[PartitionsP[n], 2]; Array[a, 100, 0] (* Amiram Eldar, May 25 2024 *)
PROG
(PARI) for(n=0, 10^3, my(p=numbpart(n)); print1(2^valuation(p, 2), ", ")); \\ Joerg Arndt, May 09 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Sharon Sela (sharonsela(AT)hotmail.com), May 04 2002
EXTENSIONS
More terms from John W. Layman, May 09 2002
STATUS
approved