login
Smallest n-digit prime using the most distinct and consecutive digits.
0

%I #2 Mar 31 2012 10:26:07

%S 2,23,101,1423,10243,102043,1234657,10243567,100234657,1123465789,

%T 10123457689,100123456789,1001233458679,10011223456879,

%U 100122334546789,1001122334546879

%N Smallest n-digit prime using the most distinct and consecutive digits.

%e a(10)=1123465789 and not 1002430567 because although the latter prime is smaller it does not have the most distinct digits. Similarly,a(13)= 1001233458679 and not 1001123456897. Note that for n >=11,all digits 0 through 9 are used.

%Y Cf. A007809 [From _Lekraj Beedassy_, Sep 14 2008]

%K more,nonn,base

%O 1,1

%A _Lekraj Beedassy_, Aug 03 2008, Aug 09 2008