%I #3 Mar 30 2012 18:50:45
%S 1,3,16,5,147,7,14,638,51,11,1058,13,26,1798,102,17,235,19,38,3431,46,
%T 23,295,305,413,186,58,29,62,31,8137,8633,188,141,9991,37,74,236,244,
%U 41,14803,43,16274,183,22042,47,284,94,366,19982,316,53,106,43139,29177
%N Smallest m such that A098371(m) = n.
%C A098371(a(n)) = n and A098371(m) <> n for m < a(n);
%C a(n-1) = n iff n is prime.
%K nonn
%O 1,2
%A _Reinhard Zumkeller_, Sep 05 2004