|
|
A327484
|
|
Number of integer partitions of 2^n whose mean is a power of 2.
|
|
4
|
|
|
1, 2, 4, 11, 66, 1417, 178803, 275379307, 15254411521973, 108800468645440803267, 964567296140908420613296779144, 219614169629364529542990295052656098001967511, 38626966436500261962963100479469496821891576834974275502742922521
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
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)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|