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.

A259159 Positive squares (A000290) that are heptagonal numbers (A000566) divided by 2.

Original entry on oeis.org

9, 938961, 97353360225, 10093791093915321, 1046544448101974957529, 108507821458015176452612289, 11250307943363385076857772396401, 1166454428075294670080752381151042025, 120940328000452394039949183305644566845481
Offset: 1

Views

Author

Colin Barker, Jun 19 2015

Keywords

Examples

			9 is in the sequence because 9 is the 3rd square, and 2*9 is the 3rd heptagonal number.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{103683, -103683, 1},{9, 938961, 97353360225}, 20] (* Vincenzo Librandi, Jun 20 2015 *)
  • PARI
    Vec(-9*x*(x^2+646*x+1)/((x-1)*(x^2-103682*x+1)) + O(x^20))

Formula

G.f.: -9*x*(x^2+646*x+1) / ((x-1)*(x^2-103682*x+1)).

A259161 Positive pentagonal numbers (A000326) that are triangular numbers (A000217) divided by 2.

Original entry on oeis.org

5, 48510, 465793515, 4472549283020, 42945417749765025, 412361896760694487530, 3959498889750770719498535, 38019107927025003687930446040, 365059470355795195660737423378045, 3505300996337237541709397051345542550, 33657899801770684519698434826282476187555
Offset: 1

Views

Author

Colin Barker, Jun 19 2015

Keywords

Examples

			5 is in the sequence because 5 is the 2nd pentagonal number, and 2*5 is the 4th triangular number.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{9603, -9603, 1}, {5, 48510, 465793515}, 20] (* Vincenzo Librandi, Jun 20 2015 *)
  • PARI
    Vec(-5*x*(99*x+1)/((x-1)*(x^2-9602*x+1)) + O(x^20))

Formula

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