OFFSET
1,1
LINKS
Shawn A. Broyles, Table of n, a(n) for n = 1..52
Shawn A. Broyles, Lua script
MATHEMATICA
n = 1000; Select[Total /@ TakeList[Prime[Range@(n(n+1)/2)], Range@n], PrimeQ] (* Zhining Yang, May 22 2023 *)
PROG
(UBASIC)
10 K=1
20 A=nxtprm(A):B=B+A:C=C+1: if C<>K then 20:else 30
30 L=B/K
31 print K; B; :Q=prmdiv(B): if Q=B then print B; "-":stop:else 40
40 B=0:K=K+1:C=0:goto 20
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Oct 16 2007
EXTENSIONS
Edited by Zak Seidov, Feb 05 2010
STATUS
approved