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
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Apr 24 2020
STATUS
approved