login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A085158 Sextuple factorials, 6-factorials, n!!!!!!, n!6. 78
1, 1, 2, 3, 4, 5, 6, 7, 16, 27, 40, 55, 72, 91, 224, 405, 640, 935, 1296, 1729, 4480, 8505, 14080, 21505, 31104, 43225, 116480, 229635, 394240, 623645, 933120, 1339975, 3727360, 7577955, 13404160, 21827575, 33592320, 49579075, 141639680 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

The term "Sextuple factorial numbers" is also used for the sequences A008542, A008543, A011781, A047058, A047657, A049308, which have a different definition. The definition given here is the one commonly used.

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

Eric Weisstein's World of Mathematics, Multifactorial.

FORMULA

a(n)=1 for n < 1, otherwise a(n) = n*a(n-6).

EXAMPLE

a(14) = 224 because 14*a(14-6) = 14*a(8) = 14*16 = 224.

MAPLE

a:= n-> `if`(n<1, 1, n*a(n-6)); seq(a(n), n=0..40); # G. C. Greubel, Aug 21 2019

MATHEMATICA

Table[Times@@Range[n, 1, -6], {n, 0, 40}] (* Harvey P. Dale, Aug 10 2019 *)

PROG

(PARI) a(n)=if(n<1, 1, n*a(n-6));

vector(40, n, n--; a(n) ) \\ G. C. Greubel, Aug 21 2019

(MAGMA) b:=func< n | n le 6 select n else n*Self(n-6) >;

[1] cat [b(n): n in [1..40]]; // G. C. Greubel, Aug 21 2019

(Sage)

def a(n):

    if (n<1): return 1

    else: return n*a(n-6)

[a(n) for n in (0..40)] # G. C. Greubel, Aug 21 2019

(GAP)

a:= function(n)

    if n<1 then return 1;

    else return n*a(n-6);

    fi;

  end;

List([0..40], n-> a(n) ); # G. C. Greubel, Aug 21 2019

CROSSREFS

Cf. n!:A000142, n!!:A006882, n!!!:A007661, n!!!!:A007662, n!!!!!:A085157, 6-factorial primes: n!!!!!!+1:A085150, n!!!!!!-1:A051592.

Sequence in context: A193551 A277439 A069188 * A065639 A325829 A171678

Adjacent sequences:  A085155 A085156 A085157 * A085159 A085160 A085161

KEYWORD

nonn

AUTHOR

Hugo Pfoertner, Jun 21 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 3 23:34 EDT 2020. Contains 335419 sequences. (Running on oeis4.)