A130744 a(n) = n*(n+2)*n!.
0, 3, 16, 90, 576, 4200, 34560, 317520, 3225600, 35925120, 435456000, 5708102400, 80472268800, 1214269056000, 19527937228800, 333456963840000, 6025763487744000, 114887039275008000, 2304854534062080000
Offset: 0
Examples
G.f. = 3*x + 16*x^2 + 90*x^3 + 576*x^4 + 4200*x^5 + 34560*x^6 + ...
Links
Crossrefs
Programs
-
Magma
[n*(n+2)*Factorial(n): n in [0..25]]; // Vincenzo Librandi, Aug 11 2011
-
Mathematica
a[n_]:=(n+2)!-(n+1)!-n!; (* Vladimir Joseph Stephan Orlovsky, Dec 05 2008 *)
-
PARI
a(n)=n!*(n*(n+2)) \\ Charles R Greathouse IV, Aug 11 2011
-
Scheme
(define (A130744 n) (* n (+ 2 n) (A000142 n))) ;; Antti Karttunen, May 07 2015
Formula
0 = +a(n) * (+a(n+1) + 2*a(n+2) - 6*a(n+3) + a(n+4)) + a(n+1) * (+5*a(n+2) - 6*a(n+3) + a(n+4)) + a(n+2) * (+3*a(n+2) - a(n+4)) + a(n+3) * (+a(n+3)) if n>=0. - Michael Somos, Mar 26 2014
From Antti Karttunen, May 07 2015: (Start)
a(n) = n * (n! + (n+1)!) = n * A001048(n+1).
a(n) = (n+2)! - (n+1)! - n! [from Orlovsky's Mathematica-code].
(End)
From Amiram Eldar, May 17 2022: (Start)
Extensions
More terms from Vladimir Joseph Stephan Orlovsky, Dec 05 2008
Comments