OFFSET
1,2
COMMENTS
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
MATHEMATICA
Join[{1}, Select[Range[1, 1023, 2], PowerMod[2, # - 3, #] == 1 &]] (* Alonso del Arte, Sep 22 2016 *)
PROG
(PARI) isok(n) = (n % 2) && (Mod(2, n)^n==8); \\ Michel Marcus, Sep 23 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Max Alekseyev, Sep 22 2016
STATUS
approved