cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A374651 a(n) = Sum_{k=1..n+1} (-1)^(k-1) k (n - k + 1)!.

Original entry on oeis.org

-1, 3, 1, 19, 81, 539, 3881, 32019, 294961, 3006859, 33608121, 408778499, 5375855681, 76017801339, 1150262909641, 18546246267379, 317444672651601, 5748938114157419, 109829779507865561, 2207493511046751459, 46566125370108071521, 1028660983526344785499
Offset: 1

Views

Author

Clark Kimberling, Jul 25 2024

Keywords

Comments

Residues mod 10 are 9,3,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,...

Crossrefs

Programs

  • Mathematica
    t[n_] := Sum[(-1)^(k - 1) k*(n - k + 1)!, {k, 1, n + 1}]
    Table[t[n], {n, 1, 30}]