login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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