login
A161966
Primes in A161849 in order of appearance.
0
2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 3, 3, 2, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 7, 2, 2, 3, 5, 2, 2, 2, 2, 2, 3, 2, 2, 3, 2, 5, 2, 2, 3, 3, 2, 2, 5, 2, 2, 3, 2, 2, 11, 2, 2, 2, 2, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, 5, 3, 2, 2, 2, 2, 2, 2, 2, 7, 2, 2, 3
OFFSET
1,1
COMMENTS
A052369(k) mod A056608(k) where prime.
The remainder of the division of the largest by the smallest prime divisor of the k-th composite, discarding all nonprime results, as k increases.
EXAMPLE
The first seven entries of A161849 are not prime, and a(1)=A161849(8)=2 is the first one selected.
The entries A161849(9..20) are not prime, and a(2)=A161849(21) is the next one selected.
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited and extended by R. J. Mathar, Aug 02 2009
STATUS
approved