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”).

A057243
Numbers k that divide 8^k + 7^k + 6^k + 5^k.
0
1, 2, 6, 13, 58, 169, 2197, 4069, 4303, 28561, 52897, 89078, 122681, 145457, 234526, 371293, 442074, 687661, 1273597, 1558427, 1664221, 2684903, 3080233, 4826809, 6589141, 7104253, 8939593, 10178701, 14273909, 16556761, 28194101, 34903739, 45643351, 47154211, 62748517, 99341411, 116214709
OFFSET
1,2
MATHEMATICA
Select[ Range[ 1, 10^5 ], Mod[ PowerMod[ 8, #, # ] + PowerMod[ 7, #, # ] + PowerMod[ 6, #, # ] + PowerMod[ 5, #, # ], # ] == 0 & ]
PROG
(PARI) for(n=1, 10^10, if(sum(k=5, 8, Mod(k, n)^n)==0, print1(n, ", "))) \\ Joerg Arndt, Feb 23 2017
CROSSREFS
Sequence in context: A241784 A211995 A245010 * A294130 A012470 A266960
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 20 2000
EXTENSIONS
More terms from Vincenzo Librandi and Joerg Arndt, Feb 23 2017
STATUS
approved