OFFSET
1,2
COMMENTS
(a, b) is a strongly carefree couple if gcd(a, b) = 1 and both a and b are squarefree (A005117). - Amiram Eldar, Mar 03 2021
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 2.5.1 Carefree Couples, p. 110.
LINKS
Pieter Moree, Counting carefree couples, arXiv:math/0510003 [math.NT], 2005-2014.
Eric Weisstein's World of Mathematics, Carefree Couple.
FORMULA
a(n) = Sum_{i,j=1...n} mu(i*j)^2. - Benoit Cloitre, Oct 10 2009
From Amiram Eldar, Mar 03 2021: (Start)
a(n) ~ A065473 * n^2 + O(n*log(n)). (End)
MATHEMATICA
Table[nn = n; Length[Select[Level[Table[Table[{i, j}, {i, 1, nn}], {j, 1, nn}], {2}], Apply[GCD, #] == 1 && SquareFreeQ[#[[1]]] &&SquareFreeQ[#[[2]]] &]], {n, 1, 56}] (* Geoffrey Critzer, Jan 13 2015 *)
PROG
(PARI) a(n)=sum(i=1, n, sum(j=1, n, moebius(i*j)^2)) \\ Benoit Cloitre, Oct 10 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Apr 20 2006
STATUS
approved