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.

Showing 1-1 of 1 results.

A376901 a(n) = (n*(n-1)+(-1)^n+5)/2.

Original entry on oeis.org

3, 2, 4, 5, 9, 12, 18, 23, 31, 38, 48, 57, 69, 80, 94, 107, 123, 138, 156, 173, 193, 212, 234, 255, 279, 302, 328, 353, 381, 408, 438, 467, 499, 530, 564, 597, 633, 668, 706, 743, 783, 822, 864, 905, 949, 992, 1038, 1083, 1131, 1178, 1228, 1277, 1329, 1380, 1434
Offset: 0

Views

Author

Eric W. Weisstein, Oct 08 2024

Keywords

Comments

For n >= 3, also the disorder number of the pan graph.

Crossrefs

Programs

  • Mathematica
    Table[(n (n - 1) + 5 + (-1)^n)/2, {n, 20}]
    LinearRecurrence[{2, 0, -2, 1}, {2, 4, 5, 9}, {0, 20}]

Formula

a(n) = 2*a(n-1)-2*a(n-3)+1*a(n-4).
G.f.: x*(-2+3*x^2-3*x^3)/((-1+x)^3*(1+x)).
After initial terms same as {A114113}+2, {A236453}+1, ({A081353}+1)/2 + 2. Hugo Pfoertner, Oct 10 2024.
Showing 1-1 of 1 results.