login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179321 Numbers m such that the sum of the first k odd primes = m-th odd prime. 2
1, 30, 74, 94, 792, 852, 1037, 1178, 1395, 1557, 2468, 3602, 3725, 5064, 5361, 5514, 6461, 8979, 9765, 11005, 16503, 19798, 20090, 21254, 22475, 24686, 30480, 30822, 37614, 44243, 44668, 45528, 49999, 50924, 53241, 61613, 64721, 65236 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
A007504(k) - 2 = A000040(a(n)+1).
A000040(a(n)+1) = A071151(n).
EXAMPLE
30 is a term because A007504(6) - 2 = 127 = A000040(31).
MAPLE
A:= NULL: p:= 2: s:= 0: q:= 2: count:= 0: i:= 0:
while count < 100 do
if s = q then count:= count+1; A:= A, i; fi;
if s <= q then p:= nextprime(p); s:= s+p
else q:= nextprime(q); i:= i+1
fi;
od:
A; # Robert Israel, Aug 28 2023
CROSSREFS
Sequence in context: A218327 A259753 A308137 * A039517 A185479 A045560
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)