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

A334361
Number of r X s rectangles with squarefree side lengths such that r < s, r + s = 2n and r | s.
1
0, 1, 1, 2, 0, 2, 1, 2, 2, 2, 1, 3, 0, 2, 1, 2, 1, 4, 1, 4, 3, 3, 0, 3, 0, 2, 2, 2, 1, 4, 1, 1, 2, 3, 2, 4, 1, 2, 2, 3, 0, 5, 1, 4, 3, 2, 1, 3, 2, 1, 2, 4, 1, 4, 2, 3, 3, 3, 0, 6, 0, 3, 3, 1, 1, 4, 1, 3, 2, 5, 1, 4, 1, 2, 2, 3, 1, 4, 1, 3, 2, 2, 1, 5, 1, 2, 2, 3, 1, 6
OFFSET
1,4
FORMULA
a(n) = Sum_{i=1..n-1} (1 - ceiling((2*n-i)/i) + floor((2*n-i)/i)) * mu(i)^2 * mu(2*n-i)^2, where mu is the Möbius function (A008683).
EXAMPLE
a(12) = 3; 2*12 = 24 has 3 rectangles with squarefree side lengths, 1 X 23, 2 X 22 and 3 X 21 such that 1 | 23, 2 | 22 and 3 | 21.
MATHEMATICA
Table[Sum[MoebiusMu[i]^2 MoebiusMu[2 n - i]^2 (1 - Ceiling[(2 n - i)/i] + Floor[(2 n - i)/i]), {i, n - 1}], {n, 100}]
CROSSREFS
Sequence in context: A319514 A141454 A301564 * A360568 A219791 A029345
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Apr 24 2020
STATUS
approved