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

A176823
a(n) = n^(n+1) mod (n+1)^n.
1
0, 1, 8, 17, 399, 73, 44638, 1570497, 5077565, 486784401, 22187726197, 166394893969, 13800864889148, 762517292682713, 9603465430859099, 803800832678655745, 3180753925351614970, 947615093635545799201
OFFSET
0,3
MATHEMATICA
Table[PowerMod[n, n+1, (n+1)^n], {n, 0, 20}] (* Harvey P. Dale, May 11 2017 *)
CROSSREFS
Sequence in context: A153315 A041126 A248289 * A316199 A300905 A008664
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset changed to 0 by Georg Fischer, Jul 23 2024
STATUS
approved