OFFSET
1,2
COMMENTS
Number of triples a,b,c with a<=b<=c<a+b, gcd(a,b,c)=1 and c<=n.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
Partial sums of A123323.
G.f.: (G(x)+x-x^2)/(2(1-x)), where G(x) = Sum_{k >= 1} mobius(k)*x^k*(1+2*x^k-x^(2*k))/(1-x^k)^2/(1-x^(2*k)).
MATHEMATICA
A123323[n_] := DivisorSum[n, Floor[(#+1)^2/4]*MoebiusMu[n/#]&]; Array[ A123323, 60] // Accumulate (* Jean-François Alcover, Dec 07 2015 *)
PROG
(PARI) A123323(n)=sum(k=1, n, sumdiv(k, d, floor((d+1)^2/4)*moebius(k/d)));
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Franklin T. Adams-Watters, Sep 25 2006
STATUS
approved