OFFSET
1,2
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
OEIS Wiki, 2^n mod n
MATHEMATICA
Select[Range[1000], Mod[2^# - 2^4, #] == 0 &] (* T. D. Noe, Aug 17 2012 *)
Join[{1, 2, 4, 6, 7, 8, 12, 16}, Select[Range[600], PowerMod[2, #, #]==16&]] (* Harvey P. Dale, Dec 03 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited and terms 1,2,4,6,7,8,12,16 prepended by Max Alekseyev, Jul 29 2011
STATUS
approved