%I #7 Sep 03 2015 07:13:33
%S 45,3,18,36,9,1584,193359,405504,309375,7734375,1584,25952256,12672,
%T 103809024,12976128
%N Smallest natural number k such that periodic part of 1/k is the prime p(n), or 0 if no such k exists.
%D Extracted from A037207.
%e Example: 1/1584 = 0.00063131313...; prime p(6)=13; a(6)=1584.
%K base,easy,nonn
%O 1,1
%A _Jean-Marc Rebert_
%E I believe a(p)=0 will eventually occur [ _N. J. A. Sloane_ ].
|