Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109818
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109818 Sum of primes between n and n^2. +0
2
0, 5, 15, 36, 95, 150, 318, 484, 774, 1043, 1576, 2099, 2886, 3790, 4620, 6040, 7941, 9465, 11541, 13810, 16763, 19982, 23515, 26840, 32253, 37461, 42368, 48394, 55737, 62668, 70112, 80029, 89512, 100678, 111427, 124051, 135954, 148630, 166354 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(3) = 15 because 3, 5, and 7 are the A073882(3) = 3 primes in the interval from 3 to 3^2 inclusive and 3 + 5 + 7 = 15.

PROGRAM

(PARI) for(n=1, 50, print1(sum(k=n, n^2, if(isprime(k), k)), ", "))

CROSSREFS

Cf. A109819 (product of same primes), A073882 (number of primes between n and n^2).

Sequence in context: A053808 A111926 A137609 this_sequence A005491 A050488 A142964

Adjacent sequences: A109815 A109816 A109817 this_sequence A109819 A109820 A109821

KEYWORD

easy,nonn

AUTHOR

Rick L. Shepherd (rshepherd2(AT)hotmail.com), Jul 02 2005

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 November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research