Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #5 Jul 16 2015 22:50:25
%S 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,
%T 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,
%U 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
%N Primes in A161849 in order of appearance.
%C A052369(k) mod A056608(k) where prime.
%C 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.
%e The first seven entries of A161849 are not prime, and a(1)=A161849(8)=2 is the first one selected.
%e The entries A161849(9..20) are not prime, and a(2)=A161849(21) is the next one selected.
%Y Cf. A002808, A052369, A056608.
%K nonn
%O 1,1
%A _Juri-Stepan Gerasimov_, Jun 23 2009
%E Edited and extended by _R. J. Mathar_, Aug 02 2009