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

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

%S 2,5,17,83,991,235369

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

%C a(n) is the prime preceding A079804(n+1).

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

%Y Cf. A079802, A079803, A079804.

%K more,nonn

%O 1,1

%A _Amarnath Murthy_, Feb 05 2003

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