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”).

A302604
Number of partitions of n into two parts such that the positive difference of the parts is squarefree.
2
0, 0, 1, 1, 2, 1, 3, 2, 4, 2, 4, 3, 5, 3, 6, 4, 7, 4, 8, 4, 9, 4, 10, 5, 11, 5, 11, 6, 11, 6, 12, 7, 13, 7, 14, 8, 15, 8, 16, 9, 17, 9, 18, 10, 19, 10, 19, 11, 20, 11, 20, 11, 21, 11, 22, 11, 23, 11, 24, 12, 25, 12, 26, 13, 26, 13, 27, 14, 28, 14, 29, 15, 30
OFFSET
1,5
FORMULA
a(n) = Sum_{i=1..floor((n-1)/2)} mu(n-2i)^2, where mu is the Möbius function (A008683).
MATHEMATICA
Table[Sum[(MoebiusMu[(n - 2 i)]^2), {i, Floor[(n-1)/2]}], {n, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Apr 10 2018
STATUS
approved