login
Initial term of n-th group in A079802.
3

%I #4 Dec 05 2013 19:55:58

%S 2,3,7,19,89,997

%N Initial term of n-th group in A079802.

%C For n > 1, a(n) is the next prime after A079805(n-1), if the n-th group exists.

%o (PARI) print1(p=2,","); s=p; while(s<10^9,p=nextprime(p+1); a=p; t=p; while(a%s>0,p=nextprime(p+1); a=a+p); print1(t,","); s=a)

%Y Cf. A079802, A079803, A079805.

%K more,nonn

%O 1,1

%A _Amarnath Murthy_, Feb 05 2003

%E a(6) and PARI code from _Klaus Brockhaus_, Feb 13 2003