OFFSET
1,1
COMMENTS
Also, numbers k such that A086251(k) = 1.
Also, numbers k such that A064078(k) is a prime power.
The corresponding primitive primes are listed in A161509.
The binary expansion of 1/p has period k and this is the only prime with such a period. The binary analog of A007498.
LINKS
T. D. Noe, Table of n, a(n) for n=1..179
Wikipedia, Unique prime, section Binary unique primes.
MATHEMATICA
Select[Range[1000], PrimePowerQ[Cyclotomic[ #, 2]/GCD[Cyclotomic[ #, 2], # ]]&]
PROG
(PARI) is_A161508(n) = my(t=polcyclo(n, 2)); isprimepower(t/gcd(t, n)); \\ Charles R Greathouse IV, Nov 17 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jun 17 2009
STATUS
approved