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!)
A011756 a(n) = prime(n(n+1)/2). 10
2, 5, 13, 29, 47, 73, 107, 151, 197, 257, 317, 397, 467, 571, 659, 769, 883, 1019, 1151, 1291, 1453, 1607, 1783, 1987, 2153, 2371, 2593, 2791, 3037, 3307, 3541, 3797, 4073, 4357, 4657, 4973, 5303, 5641, 5939, 6301, 6679, 7019, 7477 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There are n distinct successive primes p (not appearing in the sequence) such that a(n) < p < a(n+1). - David James Sycamore, Jul 22 2018
LINKS
Eric Weisstein's World of Mathematics, Triangular Number
FORMULA
a(n) is asymptotic to (n*(n+1)/2) * log(n*(n+1)/2) = (n*(n+1)/2) * (log(n)+log(n+1)-log(2)) ~ (n^2 + n)*(2 log n)/2 ~ (n^2 + n)*(log n). - Jonathan Vos Post, Mar 12 2006
MAPLE
seq(ithprime(n*(n+1)/2), n=1..50); # Muniru A Asiru, Jul 22 2018
MATHEMATICA
Prime[#]&/@Accumulate[Range[50]] (* Harvey P. Dale, Mar 23 2015 *)
PROG
(Magma) [NthPrime(n*(n+1) div 2): n in [1..100] ]; // Vincenzo Librandi, Apr 11 2011
(Haskell)
a011756 n = a011756_list !! (n-1)
a011756_list = map a000040 $ tail a000217_list
-- Reinhard Zumkeller, Sep 23 2011
(PARI) a(n) = prime(n*(n+1)/2); \\ Michel Marcus, Jul 22 2018
CROSSREFS
Primes in leading diagonal of triangle in A078721.
Cf. A195678.
Sequence in context: A045366 A158708 A093702 * A050950 A259678 A218152
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 23 13:11 EDT 2024. Contains 371913 sequences. (Running on oeis4.)