Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087987
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087987 a(n) is the Mertens-function value at n-th primorial number. +0
2
0, -1, -3, -1, -1, 16, -25, 278, 3516 (list; graph; listen)
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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified September 6 16:04 EDT 2008. Contains 143483 sequences.


AT&T Labs Research