%I #20 Jan 11 2020 15:57:46
%S -1,0,1,2,7625597484987
%N Pentatorial sequence.
%C Tetration is repeated exponentiation. So for example a[4]4 = a^^4 = a^a^a^a.
%C Pentation is repeated tetration. So for example a[5]3 = a^^^3 = a^^a^^a.
%C a[n](-1) = 0 and a[n]0 = 1 for every a and n>3. Let a^^^b be a^^a^^...^^a with a occurring b times.
%C In general, for any n-th hyperoperation we have:
%C a[n]b = b+1 for n<1 and a[n]b= a[n-1]a[n](b-1) otherwise.
%C Or equivalently, a[n]b = b+1 for n<1 and a[1]b = a+b or a[n]b = a[n-1]a...[n-1]a with a occurring b times otherwise.
%C Define the k-torial of n for natural numbers k and n to be:
%C -1[k]! = -1 for k>3 or k<1;
%C 0[2]! = 0! = 1;
%C 0[k]! = 0 for k<2 or k>2;
%C n[k]! = n[k]((n-1)[k]!) otherwise.
%C The sequence n[k]! for nonpositive k is the sequence of all nonnegative integers. n[1]! are the triangular numbers. n[2]! is the factorial. n[3]! is exponential factorial or expofactorial or exponentorial. n[4]! the tetrational factorial or tetratorial. n[5]! the pentational factorial or pentatorial etc.
%C This sequence grows so quickly that a(4) cannot fit in the data section. This obviously happens even with many other sequences of the Torial family. Here are some that aren't included in the OEIS:
%C the tetratorial sequence n[4]! where the terms are: -1, 0, 1, 2, 27, 4[4]27...
%C Sequences n[k]! for k>6 grow too quickly because only the same first 4 terms are visible;
%C the operatorial or operational factorial sequence defined as n¡=n[n]! produces the terms 0, 1, 1, 2, 9, 4[4]27...
%C All of the above sequences have offset -1.
%H Wikipedia, <a href="http://en.wikipedia.org/wiki/pentation">Tetration</a>
%F a(n) = n[5]! = n[5]((n-1)[5]!).
%e Define a(-1) = -1;
%e a(0) = 0^^^(-1) = 0;
%e a(1) = 1^^^0^^^(-1) = 1;
%e a(2) = 2^^^1^^^0^^^(-1) = 2;
%e a(3) = 3^^^2^^^1^^^0^^^(-1) = 3^^3 = 3^3^3 = 7625597484987;
%e a(4) = 4^^^3^^^2^^^1^^^0^^^(-1) = 4^^^7625597484987, which is too big to include above.
%Y Cf. A001477 (n[0]!), A000217 (n[1]!), A000142 (n[2]!), A049384 (n[3]!).
%K sign,bref
%O -1,4
%A _Natan Arie Consigli_, Apr 18 2015