[go: up one dir, main page]

login
A152472
Largest primes of 'a' consecutive primes whose sum is a prime in A152471.
2
3, 17, 47, 101, 163, 179, 439, 757, 773, 953, 1621, 2251, 3067, 3251, 4391, 4801, 4969, 5101, 5431, 5783, 5861, 5953, 6269, 6863, 7643, 8179, 9103, 9497, 9781, 10103, 10607, 11083, 11503, 12487, 15331, 15959, 18233, 18617, 19447, 19861, 20719
OFFSET
1,1
COMMENTS
2+3=5(prime);start from 2, sum of two consecutive primes is prime; 5+7+11+13+17=53(prime);start from 5, sum of five consecutive primes is prime; 11+13+17+19+23+29+31+37+41+43+47=311(prime);start from 11, sum of eleven consecutive primes is prime; 19+23+29+31+37+41+43+47+53+59+61+67+71+73+79+83+89+97+101=1103(prime);start from 19, sum of 19 consecutive primes is prime;
MATHEMATICA
lst={}; Do[s=0; Do[p=Prime[n]; If[s==0, p0=p]; s+=p, {n, a, a+Prime[a]-1}]; If[PrimeQ[s], AppendTo[lst, p]], {a, 1, 6!}]; lst
CROSSREFS
Sequence in context: A091624 A106078 A087908 * A117012 A162291 A095697
KEYWORD
nonn
AUTHOR
STATUS
approved