Sum Of Primes Is Power Of Primes: Question

Maximilian Hasler maximilian.hasler at gmail.com
Mon Apr 7 03:19:50 CEST 2008


On Sun, Apr 6, 2008 at 2:22 PM, Leroy Quet
> I just submitted these sequences:
>  %S A139019 1,2,5,17,103
>  %N A139019 a(0)=1. a(n) = smallest prime > a(n-1)
>  such that (sum{k=0 to n} a(k)) is a power of a prime.

I don't understand your values : 1+2+5+11=19 is a power of a prime.
Do you mean power >=2 ? but 1+2 isn't, either...
I get the following (for Neil, with corrected offset and A-line as for
a web-submitted comment, should of course become E Corrected and
extended by...):

%I A139019
%S A139019 1,2,5,11,13,17,79,83,33554221,33554501
%N A139019 a(1) = 1, a(n) = smallest prime > a(n-1) such that (sum{k=1
to n} a(k)) is a power of a prime.
%Y A139019 Cf. A139020,A139021
%O A139019 1
%K A139019 ,more,nonn,
%o A139019 (PARI)
 s=p=1;for(i=1,10,print1(k",");while(omega(s+p=nextprime(p+1))>1,);s+=p)
%A A139019 M. F. Hasler (Maximilian.Hasler at gmail.com), Apr 06 2008





More information about the SeqFan mailing list