%I #7 Nov 28 2012 04:54:01

%S 1,2,5,244

%N a(1) = 1, for n >= 2: a(n) = (n-1)^a(n-1) + 1.

%C a(5) with 147 digits is too large to include.

%e For n = 4: a(4) = (4-1)^5 + 1 = 244.

%K nonn

%O 1,2

%A _Jaroslav Krizek_, Nov 03 2010