Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063807
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063807 a(0) = 0, a(n+1) = a(n) + next prime larger than a(n). +0
2
0, 2, 5, 12, 25, 54, 113, 240, 481, 968, 1939, 3888, 7777, 15566, 31135, 62274, 124571, 249148, 498329, 996660, 1993349, 3986706, 7973417, 15946836, 31893677, 63787390, 127574781, 255149570, 510299161, 1020598332, 2041196671 (list; graph; listen)
OFFSET

0,2

EXAMPLE

For instance 0+2=2, 2+3=5, 5+7=12, 12+13=25, 25+29=54 ......

MATHEMATICA

Needs[ "NumberTheory`NumberTheoryFunctions`" ]; NestList[ # + NextPrime[ # ] &, 2, 50 ]

PROGRAM

(PARI) s(n)=if(n<1, n=0, s(n-1)+nextprime(s(n-1)+1)); for(n=0, 21, print(s(n)))

CROSSREFS

Sequence in context: A067331 A116734 A122439 this_sequence A116715 A117177 A132977

Adjacent sequences: A063804 A063805 A063806 this_sequence A063808 A063809 A063810

KEYWORD

nonn

AUTHOR

Pedro Ortiz-Villajos (perico1(AT)erols.com), Aug 20 2001

EXTENSIONS

More terms from Harvey P. Dale (hpd1(AT)nyu.edu) and Jason Earls (zevi_35711(AT)yahoo.com), Aug 20 2001

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 7 15:23 EDT 2008. Contains 143483 sequences.


AT&T Labs Research