A133799 a(2) = 1, a(3)=3; for n >= 4, a(n) = (n-2)!*Stirling_2(n,n-1)/2 = n!/4.
1, 3, 6, 30, 180, 1260, 10080, 90720, 907200, 9979200, 119750400, 1556755200, 21794572800, 326918592000, 5230697472000, 88921857024000, 1600593426432000, 30411275102208000, 608225502044160000, 12772735542927360000, 281000181944401920000
Offset: 2
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 2..200
Programs
-
Magma
[n le 3 select 2*n-3 else Factorial(n)/4: n in [2..30]]; // G. C. Greubel, Sep 28 2024
-
Mathematica
Join[{1,3},Range[4,30]!/4] (* Harvey P. Dale, Aug 13 2013 *)
-
PARI
concat([1,3],vector(66,n,(n+3)!/4)) \\ Joerg Arndt, Aug 14 2013
-
SageMath
def A133799(n): return (factorial(n) +2*int(n==2) +6*int(n==3))//4 [A133799(n) for n in range(2,31)] # G. C. Greubel, Sep 28 2024
Formula
a(n) = numerator(n!/(2*(n! - 2))) for n > 2. - Stefano Spezia, Dec 06 2023
Extensions
Corrected parameters in definition. - Geoffrey Critzer, Apr 26 2009
Comments