login
A064232
a(n) = n^(n+2) mod (n+1)^(n+1).
2
0, 1, 16, 243, 971, 31469, 32530, 6799175, 298900846, 1381059609, 144064988167, 7774410799163, 72418038179852, 6737865711858693, 426377776285933636, 6292404967145601295, 586165173437961392811, 2993987233372099394609
OFFSET
0,3
LINKS
FORMULA
a(n) = n^(n+2) mod (n+1)^(n+1).
MATHEMATICA
Table[PowerMod[n, n+2, (n+1)^(n+1)], {n, 0, 20}] (* Harvey P. Dale, Dec 15 2020 *)
PROG
(PARI) { for (n=0, 100, write("b064232.txt", n, " ", n^(n + 2) % (n + 1)^(n + 1)) ) } \\ Harry J. Smith, Sep 10 2009
CROSSREFS
Sequence in context: A179092 A231020 A274856 * A074153 A119933 A274753
KEYWORD
easy,nonn
AUTHOR
Floor van Lamoen, Sep 22 2001
STATUS
approved