The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A057284 Numbers n such that n | 9^n + 8^n + 7^n + 6^n + 5^n + 4^n + 3^n + 2^n. 0
 1, 2, 4, 11, 121, 142, 1331, 5269, 14641, 15332, 49444, 158447, 161051, 1005037, 1119337, 1246421, 1771561, 3380954, 19487171, 64581451, 127984967, 144492029, 214358881, 259650149, 295850687, 394178917, 2357947691 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Table of n, a(n) for n=1..27. MATHEMATICA Select[ Range[ 10^6 ], Mod[ PowerMod[ 9, #, # ] + PowerMod[ 8, #, # ] + PowerMod[ 7, #, # ] + PowerMod[ 6, #, # ] + PowerMod[ 5, #, # ] + PowerMod[ 4, #, # ] + PowerMod[ 3, #, # ] + PowerMod[ 2, #, # ], # ] == 0 & ] Select[Range[2000000], Divisible[Total[PowerMod[Range[2, 9], #, #]], #]&] (* Harvey P. Dale, Feb 05 2013 *) PROG (PARI) is(n)=my(n2=Mod(2, n)^n, n3=Mod(3, n)^n); n2+n3+n2^2+Mod(5, n)^n+n2*n3+ Mod(7, n)^n+n2^3+n3^2==0 \\ Charles R Greathouse IV, Feb 28 2012 CROSSREFS Sequence in context: A193565 A198864 A038093 * A156463 A227530 A218129 Adjacent sequences: A057281 A057282 A057283 * A057285 A057286 A057287 KEYWORD nonn AUTHOR Robert G. Wilson v, Sep 22 2000 EXTENSIONS a(14)-a(27) from Charles R Greathouse IV, Feb 28 2012 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)