|
|
A277401
|
|
Positive integers n such that 7^n == 2 (mod n).
|
|
7
|
|
|
1, 5, 143, 1133, 2171, 8567, 16805, 208091, 1887043, 517295383, 878436591673
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
All terms are odd.
No other terms below 10^15. Some larger terms: 181204957971619289, 21305718571846184078167, 157*(7^157-2)/1355 (132 digits). - Max Alekseyev, Oct 18 2016
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
7 == 2 mod 1, so 1 is a term;
16807 == 2 mod 5, so 5 is a term.
|
|
MATHEMATICA
|
Join[{1}, Select[Range[5173*10^5], PowerMod[7, #, #]==2&]] (* The program will generate the first 10 terms of the sequence; it would take a very long time to generate the 11th term. *) (* Harvey P. Dale, Apr 15 2020 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|