OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
MATHEMATICA
Do[ If[ PowerMod[ 2, n, n ] + 1 == n, If[ ! IntegerQ[ Log[ 3, n ] ], Print[ n ] ] ], {n, 1, 4* 10^6} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Amiram Eldar, Jul 04 2021
STATUS
approved