login
A087989
a(n) = M(n!), the value of Mertens's function at the n-th factorial.
0
1, 1, 0, -1, -2, -3, -3, -6, -15, -138, -26, -527, -3474, -19550, -20014, 3084, -1253696, 7121000, -18636176, -44667415, 94933922, -848322099
OFFSET
0,5
LINKS
Marc Deléglise and Joël Rivat, Computing the summation of the Mobius function, Experiment. Math. 5:4 (1996), pp. 291-295.
FORMULA
a(n) = A002321(A000142(n)).
EXAMPLE
a(4) = A002321(4!) = A002321(24) = -2.
MATHEMATICA
s=0; i=1; Do[While[i<= n!, s=s+MoebiusMu[i]; i++ ]; Print[s], {n, 0, 10}]
PROG
(PARI) a(n)=sum(k=1, n!, moebius(k)) \\ Charles R Greathouse IV, Apr 02 2014
CROSSREFS
KEYWORD
more,sign
AUTHOR
Labos Elemer, Oct 02 2003
EXTENSIONS
More terms from Sean A. Irvine, Dec 06 2009
a(14) from Donovan Johnson, Jun 21 2012
a(15)-a(17) from Rikard Nordgren, Nov 10 2012
a(18)-a(21) from Henri Lifchitz, Nov 10 2024
STATUS
approved