OFFSET
1,1
COMMENTS
FORMULA
Move through the subtotals of all the primes, 2+3+5+7+11+..., until a composite between two consecutive primes divides the subtotal of all previous primes. If it does, then that prime immediately preceding the interval of composites is listed in the sequence.
EXAMPLE
The subtotal for the primes up to 23 is 100. Between 23 and the next prime 29 there are the composites 24, 25, 26, 27 and 28 that are candidates for evenly dividing this subtotal of 100. We have 25 within this group and it does divide that subtotal of 100. Moving on to the subtotal up to 31, which is 160, we have the interval of composites 32, 33, 34, 35 and 36 as possible divisors of this current subtotal of 160. The number 32 divides this subtotal.
CROSSREFS
KEYWORD
uned,nonn
AUTHOR
J. M. Bergot, Aug 20 2007
EXTENSIONS
a(8)-a(21) from Donovan Johnson, Jul 11 2011
STATUS
approved