OFFSET
1,1
COMMENTS
LINKS
Syed Iddi Hasan, Table of n, a(n) for n = 1..10000
MAPLE
select(isprime, [seq(add(ithprime(i+k), i=1..25), k=0..250)]); # Muniru A Asiru, Feb 11 2018
MATHEMATICA
Select[ListConvolve[Table[1, 25], Prime[Range[500]]], PrimeQ] (* Jean-François Alcover, Jul 01 2018, after Harvey P. Dale *)
Select[Total/@Partition[Prime[Range[300]], 25, 1], PrimeQ] (* Harvey P. Dale, Mar 04 2023 *)
PROG
(PARI)
psumprm(m, n)={my(list=List(), s=sum(j=1, m, prime(j)), i=1); while(#list<n, s = s-prime(i)+prime(i+m); i++; if(isprime(s), listput(list, s))); Vec(list)}
psumprm(25, 40) \\ Andrew Howroyd, Feb 11 2018
(GAP) P:=Filtered([1..10^4], IsPrime);;
Filtered(List([0..250], k->Sum([1..25], i->P[i+k])), IsPrime); # Muniru A Asiru, Feb 11 2018
CROSSREFS
Cf. A034962, A034965, A082246, A082251, A127340, A127341, A161612, A215992, A215993, A215994, A215995, A215996, A215997, A215998, A215999, A216000, A216001, A216002, A216003, A216004, A216005, A216006, A216007, A216008, A216009, A216010, A216011, A216012, A216013, A216014, A216015, A216016, A216017, A216018, A216019, A216020.
KEYWORD
nonn
AUTHOR
Syed Iddi Hasan, Aug 30 2012
STATUS
approved