OFFSET
1,2
COMMENTS
LINKS
Ray Chandler, Table of n, a(n) for n = 1..99
C. K. Caldwell, Unique Primes
Eric Weisstein's World of Mathematics, Unique Prime
FORMULA
EXAMPLE
The decimal expansion of 1/101 is 0.00990099..., having a period of 4 and it is the only prime with that period.
MATHEMATICA
nmax = 10000; primesPeriods = Reap[Do[p = Cyclotomic[n, 10]/GCD[n, Cyclotomic[n, 10]]; If[PrimeQ[p], Print[n]; Sow[{p, n}]], {n, 1, nmax}]][[2, 1]]; Sort[primesPeriods][[All, 2]] // Prepend[#, 1]& // Take[#, 58]& (* Jean-François Alcover, Mar 29 2013 *)
CROSSREFS
KEYWORD
nonn,nice,base
AUTHOR
EXTENSIONS
More terms from Jud McCranie
More terms from T. D. Noe, Sep 08 2005
Corrected a(45)=3750 and extended by Ray Chandler, Oct 13 2008
STATUS
approved