OFFSET
1,2
MATHEMATICA
Select[ Range[ 10^6 ], Mod[ PowerMod[ 8, #, # ] + PowerMod[ 7, #, # ] + 1, # ] == 0 & ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 22 2000
EXTENSIONS
More terms (a(15) and a(16)) from Harvey P. Dale, Jan 27 2015
STATUS
approved