OFFSET
1,4
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
Dirichlet series generating function of reciprocals: -0/1*(Zeta(s)-1)^1 + 1/2*(Zeta(s)-1)^2 - 2/3*(Zeta(s)-1)^3 + 3/4*(Zeta(s)-1)^4 - ...
EXAMPLE
The reciprocals of this sequence, defined by the Dirichlet series generating function are: 0/1,0/1,0/1,1/2,0/1,1/1,0/1,1/3,1/2,1/1, 0/1,0/1...
MATHEMATICA
a100995[n_]:=If[PrimePowerQ[n], FactorInteger[n][[1, 2]], 0] (* From Harvey P. Dale *); Table[If[n==1, 0, MoebiusMu[n] + a100995[n]], {n, 100}] (* Indranil Ghosh, May 27 2017 *)
PROG
(PARI) A193056(n) = if(1==n, 0, moebius(n)+isprimepower(n)); \\ Antti Karttunen, May 27 2017
CROSSREFS
KEYWORD
sign
AUTHOR
Mats Granvik, Jul 15 2011
EXTENSIONS
Data section extended to 120 terms by Antti Karttunen, May 27 2017
STATUS
approved