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.

A002797 Number of solutions to a linear inequality.

Original entry on oeis.org

3, 2, 5, 9, 17, 27, 40, 55, 73, 94, 117, 143, 171, 203, 236, 273, 311, 354, 397, 445, 493, 547, 600, 659, 717, 782, 845, 915, 983, 1059, 1132, 1213, 1291, 1378, 1461, 1553, 1641, 1739, 1832, 1935, 2033, 2142, 2245, 2359, 2467, 2587, 2700
Offset: 0

Views

Author

Keywords

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Programs

  • PARI
    Vec(-(5*x^6+7*x^5+2*x^4+5*x^3-x+3)/((x^2+1)*(x+1)^2*(x-1)^3) + O(x^50)) \\ Michel Marcus, Jan 26 2015

Formula

a(n) = a(n-1) + a(n-2) - a(n-3) + a(n-4) - a(n-5) - a(n-6) + a(n-7). - Sean A. Irvine, Aug 20 2014
G.f.: -(5*x^6+7*x^5+2*x^4+5*x^3-x+3)/((x^2+1)*(x+1)^2*(x-1)^3). - Alois P. Heinz, Aug 20 2014

Extensions

Initial term, missing a(9), and more terms from Sean A. Irvine, Aug 20 2014