login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099726 A004125(A000040(n)): Sum of remainders of the n-th prime mod k, for k = 1,2,3,...,n. 2
0, 1, 3, 5, 7, 7, 14, 18, 28, 30, 31, 26, 38, 45, 63, 71, 93, 75, 96, 115, 101, 142, 161, 167, 152, 159, 203, 224, 219, 222, 216, 250, 263, 296, 341, 320, 319, 349, 433, 427, 496, 419, 487, 481, 538, 537, 495, 631, 635, 676, 697, 777, 665, 820, 784, 874, 929, 856 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

EXAMPLE

a(7)=14 because the 7th prime is 17 and its remainders modulo 1,2,3,4,5,6,7 are 0,1,2,1,2,5,3 respectively and 0+1+2+1+2+5+3=14.

MAPLE

umpf:=n->add(modp(floor(ithprime(n)), m), m=1..n); seq(umpf(k), k=1..120);

CROSSREFS

Cf. A000040, A004125.

Sequence in context: A172365 A098566 A006540 * A202664 A202124 A201088

Adjacent sequences:  A099723 A099724 A099725 * A099727 A099728 A099729

KEYWORD

easy,nonn

AUTHOR

Joseph Biberstine (jrbibers(AT)indiana.edu), Nov 07 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.