The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A063709 Remainder when n^n is divided by n!. 4
 0, 0, 0, 3, 16, 5, 576, 2023, 4096, 227529, 2656000, 26301011, 443667456, 5268921853, 294332416, 820814907375, 19909425135616, 225992064764177, 5838869363687424, 43054524724611979, 296380418621440000 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,4 LINKS Harry J. Smith, Table of n, a(n) for n=0..100 EXAMPLE a(7) = 2023 because 7^7 = 2023 (mod 7!). MATHEMATICA Table[PowerMod[n, n, n! ], {n, 24}] PROG (PARI) for(n=0, 22, print(Mod(n^n, n!))) (PARI) { for (n=0, 100, write("b063709.txt", n, " ", n^n % n!) ) } \\ Harry J. Smith, Aug 28 2009 CROSSREFS Sequence in context: A165969 A098373 A054793 * A195880 A237671 A286199 Adjacent sequences:  A063706 A063707 A063708 * A063710 A063711 A063712 KEYWORD easy,nonn AUTHOR Axel Harvey, Aug 23 2001 EXTENSIONS Corrected and extended by a number of contributors, Aug 24 2001 STATUS approved

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

Last modified May 11 13:21 EDT 2021. Contains 343791 sequences. (Running on oeis4.)