OFFSET
1,2
COMMENTS
EXAMPLE
1 is in the sequence because prime(2) = 3 is divisible by 1.
2 is in the sequence because prime(2) + prime(4) = 3 + 7 = 10 is divisible by 2.
MATHEMATICA
Select[Range@ 10000, Divisible[Sum[Prime[2 i], {i, 1, #}], #] &] (* Michael De Vlieger, Oct 21 2015 *)
PROG
(PARI) list(lim)=my(v=List(), k, s, t); forprime(p=2, , if((t++) && t%2==0, s+=p; k++; if(s%k==0, listput(v, k)); if(k>=lim, return(Vec(v)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Oct 20 2015
STATUS
approved