OFFSET
1,2
COMMENTS
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
MATHEMATICA
m = 2^7; Join[Select[Range[1, m, 2], Divisible[2^# - m, #] &],
Select[Range[m + 1, 10^3, 2], PowerMod[2, #, #] == m &]] (* Robert Price, Oct 12 2018 *)
PROG
(PARI) is(n)=n%2 && Mod(2, n)^n==128 \\ Charles R Greathouse IV, Sep 22 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Max Alekseyev, Sep 22 2016
STATUS
approved