OFFSET
1,1
COMMENTS
Number of primes p < 10^n whose period length of 1/p is a perfect power: 1,3,14,24,78,173,461,1190,3235,8933,....
The primes modulo any integer do not seem to be equally distributed.
LINKS
Ray Chandler & Robert G. Wilson v, Table of n, a(n) for n = 1..30000
EXAMPLE
The prime 73 has a period of 8 = 2^3 which is a member of A001597, hence is a member of this sequence.
MATHEMATICA
lst = {3}; p = 1; While[p < 10^8, p = NextPrime@p; If[GCD @@ Last /@ FactorInteger@ MultiplicativeOrder[10, p] > 1, AppendTo[lst, p]; Print@p]]; lst (* Ray Chandler, May 11 2007 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, May 05 2007
EXTENSIONS
Correction (3 is a member of the sequence) from Ray Chandler, May 11 2007
B-file corrected by Ray Chandler, Oct 23 2011
STATUS
approved