OFFSET
1,2
COMMENTS
It appears that all terms are composite except a(1) = 1 and a(2) = 3. Most listed terms are divisible by 3, except {1, 35, 583, 70643, ...}.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[ Range[10000], Mod[ PowerMod[3, (#-1)/2, # ] - PowerMod[2, (#-1)/2, # ] -1, # ]==0&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, May 05 2007
STATUS
approved