|
|
A226018
|
|
Numbers n such that prime(n) divides 2^(n-1) + 1.
|
|
0
|
|
|
1, 2, 3, 25, 183, 6463, 599806, 10553830, 15377521, 211655508, 603977457, 609080388, 3637001051, 8073907744
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
The 25th prime is 97, and 97 divides 2^(25-1) + 1 = 16777217, so 25 is in the sequence.
|
|
MATHEMATICA
|
Select[Range[10^6], (p = Prime[#]; PowerMod[2, # - 1, p] == p - 1) &] (* Giovanni Resta, May 23 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|