|
|
A079802
|
|
Group the prime numbers so that the sum of the terms of the n-th group is a multiple of that of the (n-1)-st group: (2), (3,5), (7,11,13,17), (19,23,29,31,37...,79,83), ...; a(n) = sum of n-th group.
|
|
3
|
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
PROG
|
(PARI) p=2; print1(s=p, ", "); while(s<10^9, p=nextprime(p+1); a=p; while(a%s>0, p=nextprime(p+1); a=a+p); print1(s=a, ", "))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|