Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131073
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131073 a(1)=2. a(n) = a(n-1) + (number of terms, from among terms a(1) through a(n-1), which are prime). +0
2
2, 3, 5, 8, 11, 15, 19, 24, 29, 35, 41, 48, 55, 62, 69, 76, 83, 91, 99, 107, 116, 125, 134, 143, 152, 161, 170, 179, 189, 199, 210, 221, 232, 243, 254, 265, 276, 287, 298, 309, 320, 331, 343, 355, 367, 380, 393, 406, 419, 433, 448, 463, 479, 496, 513, 530, 547 (list; graph; listen)
OFFSET

1,1

COMMENT

By Dirichlet's Theorem, there are an infinite number of primes in this sequence.

EXAMPLE

There are 5 primes (2,3,5,11,19) among the first 7 terms of the sequence. So a(8) = a(7) + 5 = 24.

MATHEMATICA

f[lst_] := Append[lst, Last@lst + Length@ Select[lst, PrimeQ@# &]]; Nest[f, {2}, 56] - Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 02 2007

CROSSREFS

Sequence in context: A078444 A054925 A126097 this_sequence A062485 A137179 A096777

Adjacent sequences: A131070 A131071 A131072 this_sequence A131074 A131075 A131076

KEYWORD

nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Jun 13 2007

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 02 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 5 19:27 EDT 2008. Contains 143485 sequences.


AT&T Labs Research