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.

A251927 Numbers n such that the sum of the triangular numbers T(n) and T(n+1) is equal to a heptagonal number H(m) for some m.

Original entry on oeis.org

0, 8, 76, 1518, 12986, 111034, 2190396, 18727244, 160112392, 3158550954, 27004674302, 230881959670, 4554628286712, 38940721617680, 332931625733188, 6567770830889190, 56152493568021698, 480087173425298866, 9470720983513926708, 80971856784365672276
Offset: 1

Views

Author

Colin Barker, Dec 11 2014

Keywords

Comments

Also nonnegative integers x in the solutions to 2*x^2-5*y^2+4*x+3*y+2+2 = 0, the corresponding values of y being A046195.

Examples

			8 is in the sequence because T(8)+T(9) = 36+45 = 81 = H(6).
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{1,0,1442,-1442,0,-1,1},{0,8,76,1518,12986,111034,2190396},20] (* Harvey P. Dale, Dec 08 2016 *)
  • PARI
    concat(0, Vec(2*x^2*(x^5+4*x^4+34*x^3-721*x^2-34*x-4)/((x-1)*(x^6-1442*x^3+1)) + O(x^100)))

Formula

G.f.: 2*x^2*(x^5+4*x^4+34*x^3-721*x^2-34*x-4) / ((x-1)*(x^6-1442*x^3+1)).