The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A175133 Sum of first a(n) consecutive primes gives a triangular number. 4
3, 5, 217, 1065, 93448, 39545957, 240439822, 1894541497, 132563927578, 309101198255 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A007504(a(n)) = A000217(j) for some j.
Numbers k such that Sum_{i=1..k} prime(i) = j*(j+1)/2, where prime(i) is i-th prime, and j an integer.
LINKS
EXAMPLE
k=3 is a term: 2+3+5=10, and 10=4*5/2 is a triangular number, j=4.
k=5 is a term: 2+3+5+7+11=28, and 28=7*8/2 is a triangular number, j=7.
k=217 is a term: 2+3+...+1327=133386, and 133386=516*517/2 is a triangular number, j=516.
PROG
(PARI) isok(n) = ispolygonal(sum(k=1, n, prime(k)), 3); \\ Michel Marcus, Oct 13 2018
CROSSREFS
Cf. also A033997, A364696, A366270.
Sequence in context: A104996 A211767 A224537 * A012817 A087367 A058846
KEYWORD
nonn,more
AUTHOR
Ctibor O. Zizka, Feb 20 2010
EXTENSIONS
a(6)-a(10) from Nathaniel Johnston, May 10 2011 (a(7)-a(10) based on comments by Donovan Johnson)
Name, comment and example clarified by Ilya Gutkovskiy, Aug 07 2023
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 May 21 02:29 EDT 2024. Contains 372720 sequences. (Running on oeis4.)