OFFSET
1,4
LINKS
Daniel Suteu, Table of n, a(n) for n = 1..100
Wikipedia, Liouville function.
MATHEMATICA
f[n_] := n!*Sum[(-1)^PrimeOmega[k]/k, {k, n}]; Array[f, 22] (* Robert G. Wilson v, Apr 13 2017 *)
PROG
(PARI) a(n) = n! * sum(k=1, n, (-1)^bigomega(k)/k);
CROSSREFS
KEYWORD
nonn
AUTHOR
Daniel Suteu, Apr 13 2017
STATUS
approved