login
A387179
Number of twice-partitions of n into distinct constant partitions.
4
1, 1, 2, 4, 7, 11, 18, 28, 48, 69, 105, 158, 240, 343, 503, 720, 1041, 1459, 2062, 2874, 4047, 5547, 7656, 10472, 14322, 19360, 26214, 35192, 47354, 63030, 83992, 111258, 147360, 193804, 254907, 333553, 436319, 567673, 738197, 956049, 1237453, 1594700, 2053361
OFFSET
0,3
COMMENTS
A twice-partition of n (A063834) is a sequence of integer partitions, one of each part of an integer partition of n.
LINKS
EXAMPLE
The a(1) = 1 through a(6) = 18 twice-partitions counted by this sequence:
(1) (2) (3) (4) (5) (6)
(11) (111) (22) (3)(2) (33)
(2)(1) (1111) (4)(1) (222)
(11)(1) (3)(1) (11111) (4)(2)
(11)(2) (22)(1) (5)(1)
(2)(11) (3)(11) (22)(2)
(111)(1) (111)(2) (4)(11)
(111)(11) (111111)
(1111)(1) (111)(3)
(11)(2)(1) (22)(11)
(2)(11)(1) (3)(111)
(1111)(2)
(3)(2)(1)
(1111)(11)
(11111)(1)
(3)(11)(1)
(111)(2)(1)
(111)(11)(1)
MAPLE
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0, add(j!*
binomial(numtheory[tau](i), j)*b(n-i*j, i-1), j=0..n/i)))
end:
a:= n-> b(n$2):
seq(a(n), n=0..45); # Alois P. Heinz, Sep 08 2025
MATHEMATICA
twiptn[n_]:=Join@@Table[Tuples[IntegerPartitions/@ptn], {ptn, IntegerPartitions[n]}];
Table[Length[Select[twiptn[n], UnsameQ@@#&&And@@SameQ@@@#&]], {n, 0, 10}]
CROSSREFS
The non-distinct version is A279784.
Dominates the case of distinct block-sums A279786.
This is the constant-block case of A296122.
For strict instead of constant partitions we have A358914.
A000041 counts integer partitions, strict A000009.
A047968 counts constant twice-partitions.
A063834 counts twice-partitions.
Cf. A387120, zeros A387180 (counted by A387329), nonzeros A387181 (counted by A387330).
Sequence in context: A034412 A289131 A054352 * A091838 A288219 A004696
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 07 2025
EXTENSIONS
More terms from Alois P. Heinz, Sep 08 2025
STATUS
approved