login
a(n) = n^(n+1) mod (n+1)^n.
1

%I #14 Jul 23 2024 15:29:36

%S 0,1,8,17,399,73,44638,1570497,5077565,486784401,22187726197,

%T 166394893969,13800864889148,762517292682713,9603465430859099,

%U 803800832678655745,3180753925351614970,947615093635545799201

%N a(n) = n^(n+1) mod (n+1)^n.

%t Table[PowerMod[n,n+1,(n+1)^n],{n,0,20}] (* _Harvey P. Dale_, May 11 2017 *)

%K nonn

%O 0,3

%A _Vladimir Joseph Stephan Orlovsky_, Apr 26 2010

%E Offset changed to 0 by _Georg Fischer_, Jul 23 2024