|
Search: id:A087987
|
|
|
| A087987 |
|
a(n) is the Mertens-function value at n-th primorial number. |
|
+0 2
|
| |
|
|
OFFSET
|
1,3
|
|
|
FORMULA
|
a()=A002321[A002110(n)]
|
|
EXAMPLE
|
n=3: 3rd primoria;=30, A002321[30]=-3=a(3)
|
|
MATHEMATICA
|
q[x_] := Apply[Times, Table[Prime[i], {i, 1, x}]] s=0; i=1; Do[While[i<=q[n], s=s+MoebiusMu[i]; i++ ]; Print[s], {n, 0, 8}]//Timing
|
|
PROGRAM
|
(PARI) p=1; s=1; for(n=1, 10, pr=p; p*=prime(n); s+=sum(k=pr+1, p, moebius(k)); print1(s", ")) - Herman Jamke (hermanjamke(AT)fastmail.fm), Dec 21 2007
|
|
CROSSREFS
|
Cf. A008683, A002110, A002321, A084237.
Sequence in context: A110112 A060325 A135021 this_sequence A121412 A016561 A111382
Adjacent sequences: A087984 A087985 A087986 this_sequence A087988 A087989 A087990
|
|
KEYWORD
|
more,sign
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Oct 02 2003
|
|
EXTENSIONS
|
One more term from Herman Jamke (hermanjamke(AT)fastmail.fm), Dec 21 2007
|
|
|
Search completed in 0.002 seconds
|