login
Smallest prime formed by a substring of the decimal digits of 1/n beginning with the first (nonzero) digit after the decimal point, or 0 if no such prime exists.
0

%I #5 Dec 05 2013 19:56:34

%S 0,5,3,2,2,0,1428571,0,11,0,0,83,7,7,0,0,5,5,5,5,47,0,43,41,0,3,3,3,3,

%T 3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,19,0,1851851,181,17,17,

%U 17,0,0,163,1612903,1587301,0,1538461,151,149,0,0,1428571,0,13,13,13,13,13,0

%N Smallest prime formed by a substring of the decimal digits of 1/n beginning with the first (nonzero) digit after the decimal point, or 0 if no such prime exists.

%e a(7) = 1428571 as 1/7 =0.142857142857142857142857142857143...

%K base,nonn

%O 1,2

%A _Amarnath Murthy_, Oct 01 2003

%E Corrected and extended by _Ray Chandler_, Oct 06 2003