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-2 of 2 results.

A087327 Independence numbers for KT_2 knight on triangular board.

Original entry on oeis.org

1, 2, 6, 8, 13, 18, 25, 32, 41, 50, 61, 72, 85, 98, 113, 128, 145, 162, 181, 200, 221, 242, 265, 288, 313, 338, 365, 392, 421, 450, 481, 512, 545, 578, 613, 648, 685, 722, 761, 800, 841, 882, 925, 968, 1013, 1058, 1105, 1152, 1201, 1250, 1301, 1352, 1405, 1458
Offset: 1

Views

Author

N. J. A. Sloane, Oct 21 2003

Keywords

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{2,0,-2,1},{1,2,6,8,13,18,25},60] (* Harvey P. Dale, Mar 14 2018 *)
  • PARI
    Vec(x*(1+2*x^2-2*x^3+2*x^5-x^6)/((1-x)^3*(1+x)) + O(x^100)) \\ Colin Barker, Feb 02 2016

Formula

a(n) = ceiling(n^2/2) except for n=3.
From Colin Barker, Feb 02 2016: (Start)
a(n) = (2*n^2-(-1)^n+1)/4 for n>3.
a(n) = n^2/2 for even n>3; a(n) = (n^2+1)/2 for odd n>3.
a(n) = 2*a(n-1)-2*a(n-3)+a(n-4) for n>3.
G.f.: x*(1+2*x^2-2*x^3+2*x^5-x^6) / ((1-x)^3*(1+x)). (End)

Extensions

More terms from David Wasserman, May 06 2005

A087329 Independence numbers for KT_4 knight on hexagonal board.

Original entry on oeis.org

1, 3, 3, 4, 7, 9, 12, 15, 19, 22, 25, 28, 37, 40, 46, 51, 61, 66, 71, 76, 91, 96, 103, 111, 127
Offset: 1

Views

Author

N. J. A. Sloane, Oct 21 2003

Keywords

Crossrefs

Formula

a(4*n+1) = 3*n^2 + 3*n + 1 = A003215(n) from Bode and Harborth. - Andy Huchala, Mar 16 2024

Extensions

a(17)-a(25) from Andy Huchala, Mar 16 2024
Showing 1-2 of 2 results.