|
Search: id:A075574
|
|
|
| A075574 |
|
a(1) = 1, then the smallest number (obviously even) greater than the previous term such that every partial sum is prime. |
|
+0 1
|
|
| 1, 2, 4, 6, 10, 14, 16, 18, 26, 30, 36, 48, 52, 54, 56, 58, 60, 66, 74, 78, 88, 90, 96, 104, 106, 108, 122, 126, 144, 154, 156, 158, 172, 188, 190, 192, 206, 210, 214, 228, 240, 242, 250, 258, 260, 262, 284, 286, 288, 290, 298, 300, 302, 318, 324, 328, 332, 340
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
MAPLE
|
A075574:=proc(n) local i, j, k, t, s; j:=1; s:=1; t:=1; for i to n do k:=s; s:=nextprime(s+j); j:=s-k; t:=t, j; od; t; end; (Floor van Lamoen (fvlamoen(AT)hotmail.com), Oct 21 2005)
|
|
CROSSREFS
|
Cf. A073659, A073660.
Sequence in context: A032396 A087148 A007981 this_sequence A104692 A066755 A089238
Adjacent sequences: A075571 A075572 A075573 this_sequence A075575 A075576 A075577
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 25 2002
|
|
EXTENSIONS
|
More terms from David Wasserman (dwasserm(AT)earthlink.net), Jan 20 2005
|
|
|
Search completed in 0.002 seconds
|