%I #6 Nov 09 2018 15:39:05
%S 0,1,2,9,4,25,6,2401,512,81,10,121,12,28561,2744,225,16,289,18,130321,
%T 8000,441,22,148035889,7962624,390625,17576,729,28,841,30,887503681,
%U 33554432,1185921,39304,1225,36,1874161,54872,1521,40,1681,42,3418801
%N n^(p-n) where p is smallest prime > n.
%H Harvey P. Dale, <a href="/A171228/b171228.txt">Table of n, a(n) for n = 0..1000</a>
%t Table[n^(NextPrime[n]-n),{n,0,50}] (* _Harvey P. Dale_, Jun 20 2013 *)
%Y Cf. A013632, A013636.
%K nonn
%O 0,3
%A _Juri-Stepan Gerasimov_, Dec 05 2009
%E Definition corrected by _Andrew Weimholt_, Dec 08 2009
|