login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A057299
Numbers n such that n | 6^n + 5^n + 1.
0
1, 2, 3, 9, 27, 57, 62, 81, 243, 459, 621, 729, 1083, 1922, 2187, 6561, 10287, 14337, 18411, 19683, 20577, 24909, 37179, 59049, 59582, 121743, 144026, 150903, 177147, 187353, 390963, 531441, 845883, 944599
OFFSET
1,2
MATHEMATICA
Select[ Range[ 10^6 ], Mod[ PowerMod[ 6, #, # ] + PowerMod[ 5, #, # ] + 1, # ] == 0 & ]
CROSSREFS
Sequence in context: A057231 A178028 A045596 * A057296 A057248 A015960
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 22 2000
STATUS
approved