OFFSET
0,2
COMMENTS
Number of partitions of 2^n whose number of parts is a power of 2. - Chai Wah Wu, Sep 21 2023
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..15 (n = 0..13 from Alois P. Heinz)
EXAMPLE
The a(0) = 1 through a(3) = 11 partitions:
(1) (2) (4) (8)
(11) (22) (44)
(31) (53)
(1111) (62)
(71)
(2222)
(3221)
(3311)
(4211)
(5111)
(11111111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[2^n], IntegerQ[Mean[#]]&]], {n, 0, 5}]
PROG
(Python)
from sympy.utilities.iterables import partitions
def A327484(n): return sum(1 for s, p in partitions(1<<n, size=True) if not(s&-s)^s) # Chai Wah Wu, Sep 21 2023
(Python)
# uses A008284_T
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 13 2019
EXTENSIONS
a(7) from Chai Wah Wu, Sep 14 2019
a(8)-a(11) from Alois P. Heinz, Sep 21 2023
a(12) from Chai Wah Wu, Sep 21 2023
STATUS
approved