A colored base-power partition is a base-power partition in which each part has a color and the multiplicities are specified
separately for each size and color. Order among the parts does not matter. For binary
parts with
colors available at every size and arbitrary multiplicities, let
count these partitions.
The generating function is
|
(1)
|
For one color, the binary partition counts from begin 1, 1, 2, 2, 4, 4, 6, 6, 10, 10, ... (OEIS A018819).
Write
for the 2-adic valuation of a nonzero integer
. For even
with
and
odd, put
and
,
where
is the floor function. For
, Kapre (2026a) gives
|
(2)
|
for , and
|
(3)
|
for . At
,
each difference is odd one scale below its stated threshold. For
, the second difference instead has valuation
for
and
.
For integers and
,
another convention gives
colors to parts of size 1 and
colors to each larger power of
. In this convention the count
has generating
function
|
(4)
|
For
and
, every finite integer
occurs for arbitrarily large
as the valuation of the odd part
of
minus 1, with
. For
and
,
is unbounded on
exactly when
(Kapre 2026b). Kapre reports Lean formalizations
and AI assistance with the mathematical arguments and formalization.