login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A339397
Number of partitions of n into an even number of relatively prime parts.
1
0, 1, 1, 2, 3, 4, 7, 9, 13, 18, 27, 32, 49, 61, 82, 106, 146, 176, 242, 293, 384, 477, 623, 744, 970, 1174, 1484, 1796, 2274, 2702, 3411, 4068, 5031, 6021, 7417, 8776, 10801, 12783, 15522, 18366, 22267, 26155, 31602, 37112, 44434, 52191, 62338, 72781, 86709, 101170
OFFSET
1,4
COMMENTS
Moebius transform of A027187.
FORMULA
a(n) = Sum_{d|n} mu(n/d) * A027187(d).
EXAMPLE
a(6) = 4 because we have [5, 1], [3, 1, 1, 1], [2, 2, 1, 1] and [1, 1, 1, 1, 1, 1].
MATHEMATICA
Table[Sum[MoebiusMu[n/d] Length@Select[IntegerPartitions[d], EvenQ[Length@#] &], {d, Divisors[n]}], {n, 1, 50}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 02 2020
STATUS
approved