login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A374650
a(n) = n! - 2(n-1)! + 3(n-2)! - 4(n-3)!.
2
1, 14, 82, 528, 3864, 31920, 294480, 3003840, 33586560, 408602880, 5374252800, 76001587200, 1150082841600, 18544067942400, 317416158259200, 5748536521728000, 109823724122112000, 2207396178763776000, 46564463961759744000, 1028630969057083392000
OFFSET
3,2
FORMULA
D-finite with recurrence +(-3*n+34)*a(n) +(n-1)*(3*n-44)*a(n-1) +(13*n+1)*(n-4)*a(n-2)=0. - R. J. Mathar, Jul 30 2024
MAPLE
374650 := proc(n)
n!-2*(n-1)!+3*(n-2)!-4*(n-3)!
end proc:
seq(A374650(n), n=3..50) ; # R. J. Mathar, Jul 30 2024
MATHEMATICA
Table[n! - 2 (n - 1)! + 3 (n - 2)! - 4 (n - 3)!, {n, 3, 25}]
CROSSREFS
Sequence in context: A215700 A199912 A082971 * A176010 A250562 A166819
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jul 25 2024
STATUS
approved