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.

A384253 a(n) = 1 + ((1+(-1)^(n-1))*(n-1)!)/(n+1).

Original entry on oeis.org

2, 1, 2, 1, 9, 1, 181, 1, 8065, 1, 604801, 1, 68428801, 1, 10897286401, 1, 2324754432001, 1, 640237370572801, 1, 221172909834240001, 1, 93666727314800640001, 1, 47726800133326110720001, 1, 28806532937614688256000001, 1, 20325889640780924033433600001, 1, 16578303738261941164769280000001
Offset: 1

Views

Author

Michel Marcus, May 23 2025

Keywords

Crossrefs

Cf. A060593.

Programs

  • PARI
    a(n) = 1 + ((1+(-1)^(n-1))*(n-1)!)/(n+1);

Formula

a(2*n+1) = 1 + A060593(n), a(2n) = 1.
D-finite with recurrence (n+1)*a(n) -(n-2)*(n-1)^2*a(n-2) +(n-3)*(n^2-n+1)=0. - R. J. Mathar, May 26 2025