OFFSET
0,1
COMMENTS
Besides 7, terms exclude the greater of the twin primes (A006512). - Bill McEachen, Dec 01 2022
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..1000
MATHEMATICA
PrimeNext[n_]:=Module[{k=n}, While[ !PrimeQ[k], k++ ]; k]; f[n_]:=n*(n+1)/2; lst={}; Do[AppendTo[lst, PrimeNext[f[n]]], {n, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Feb 26 2010 *)
NextPrime/@(Accumulate[Range[0, 60]]-1) (* Harvey P. Dale, Jul 31 2012 *)
PROG
(PARI) { for (n=0, 1000, write("b065383.txt", n, " ", nextprime(n*(n + 1)/2)) ) } \\ Harry J. Smith, Oct 17 2009
(Haskell)
a065383 n = head $ dropWhile (< a000217 n) a000040_list
-- Reinhard Zumkeller, Aug 03 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 05 2001
EXTENSIONS
Edited by N. J. A. Sloane, Nov 21 2008
STATUS
approved