OFFSET
0,2
COMMENTS
A sifted set generated by a sieve similar to the sieve of Eratosthenes.
LINKS
Max Barrentine, Table of n, a(n) for n = 0..812 [Corrected Apr 18 2016]
FORMULA
a(0)=0, a(1)=2; for n>1, a(n) is the smallest integer k>a(n-1) such that k≠≠a(j) mod a(j-1) for all j<n.
EXAMPLE
a(0)=0 and a(1)=2, so after 2, sift out the even numbers. The next remaining number after 2 is 3, so a(2)=3. Then sift out all numbers k==2 (mod 3), except for 2. The next remaining number is 7, so sift out all numbers k==3 (mod 7), except for 3.
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Barrentine, Oct 03 2015
STATUS
approved