login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A057297
Numbers n such that n | 8^n + 7^n + 1.
0
1, 2, 6, 38, 722, 874, 1102, 5934, 13718, 19342, 260642, 379794, 438254, 809362, 1234806, 4952198
OFFSET
1,2
MATHEMATICA
Select[ Range[ 10^6 ], Mod[ PowerMod[ 8, #, # ] + PowerMod[ 7, #, # ] + 1, # ] == 0 & ]
CROSSREFS
Sequence in context: A005740 A367904 A006536 * A005530 A353535 A072191
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