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.

A259158 Positive triangular numbers (A000217) that are heptagonal numbers (A000566) divided by 2.

Original entry on oeis.org

171, 355817826, 739874066553765, 1538466018777014327028, 3199027777735470191011289295, 6651936797966044301302839516949686, 13831784604089070782667939513452521937961, 28761287297921206463992005998270360082445758120
Offset: 1

Views

Author

Colin Barker, Jun 19 2015

Keywords

Examples

			171 is in the sequence because 171 is the 18th triangular number, and 2*171 is the 12th heptagonal number.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{2079363, -2079363, 1}, {171, 355817826, 739874066553765}, 20] (* Vincenzo Librandi, Jun 20 2015 *)
  • PARI
    Vec(-171*x*(1443*x+1) / ((x-1)*(x^2-2079362*x+1)) + O(x^20))

Formula

G.f.: -171*x*(1443*x+1) / ((x-1)*(x^2-2079362*x+1)).

A259160 Positive squares (A000290) that are octagonal numbers (A000567) divided by 2.

Original entry on oeis.org

4, 39204, 376437604, 3614553835204, 34706945549192004, 333256087548787788004, 3199924917936514791223204, 30725678728770327476537417604, 295027963953727766493197492611204, 2832858479158015285097354847515364004, 27201106821847298813777034752645032556004
Offset: 1

Views

Author

Colin Barker, Jun 19 2015

Keywords

Comments

Intersection of A000290 and A033579 (even octagonal numbers divided by 2). - Michel Marcus, Jun 20 2015

Examples

			4 is in the sequence because 4 is the 2nd square, and 2*4 is the 2nd octagonal number.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{9603, -9603, 1}, {4, 39204, 376437604}, 20] (* Vincenzo Librandi, Jun 20 2015 *)
  • PARI
    Vec(-4*x*(x^2+198*x+1)/((x-1)*(x^2-9602*x+1)) + O(x^20))

Formula

G.f.: -4*x*(x^2+198*x+1) / ((x-1)*(x^2-9602*x+1)).
Showing 1-2 of 2 results.