STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Select[Range[m + 1, 10^7], PowerMod[2, #, #] == m &]] (* Robert Price, Sep 26 2018 *)
Improved Mathematica program by Robert Price, Sep 29 2018
proposed
editing
editing
proposed
m = 7; Join[Select[Range[m], Divisible[2^# - m, #] &],
Select[Range[m + 1, 10^7], PowerMod[2, #, #] == 7 m &] ] (* Robert Price, Sep 26 2018 *)
Improved Mathematica program by Robert Price, Sep 29 2018
approved
editing
proposed
approved
editing
proposed
(PARI) isok(n) = Mod(2, n)^n == 7; \\ Michel Marcus, Sep 27 2018
proposed
editing
editing
proposed