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.

A259210 Positive hexagonal numbers (A000384) that are other hexagonal numbers divided by 3.

Original entry on oeis.org

15, 567645, 21362755051, 803965923024825, 30256453525753512135, 1138671371184241752666901, 42852758352891300594112643235, 1612720706714039835374593462842225, 60693131033623416811596149786491655551, 2284125291706662961573569665690233502167245
Offset: 1

Views

Author

Colin Barker, Jun 21 2015

Keywords

Examples

			15 is in the sequence because 15 is the 3rd hexagonal number, and 3*15 is the 5th hexagonal number.
		

Crossrefs

Programs

  • PARI
    Vec(-x*(x^2+3120*x+15)/((x-1)*(x^2-37634*x+1)) + O(x^20))

Formula

a(n) = 37635*a(n-1)-37635*a(n-2)+a(n-3).
G.f.: -x*(x^2+3120*x+15) / ((x-1)*(x^2-37634*x+1)).

A259211 Positive octagonal numbers (A000567) that are other octagonal numbers divided by 3.

Original entry on oeis.org

560, 4090071480, 29860802042948800, 218007803276760596488520, 1591631806178550455562538466640, 11620188673811755515268615201727379160, 84836696710140620657577957851546090689242080, 619375925014776443389412658082968133380998230391400
Offset: 1

Views

Author

Colin Barker, Jun 21 2015

Keywords

Examples

			560 is in the sequence because 560 is the 14th octagonal number, and 3*560=1680 is the 24th octagonal number.
		

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[40 (x^2 + 40545 x + 14)/((1 - x) (x^2 - 7300802 x + 1)), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 21 2015 *)
    LinearRecurrence[{7300803,-7300803,1},{560,4090071480,29860802042948800},20] (* Harvey P. Dale, Jan 28 2025 *)
  • PARI
    Vec(-40*x*(x^2+40545*x+14)/((x-1)*(x^2-7300802*x+1)) + O(x^20))

Formula

a(n) = 7300803*a(n-1)-7300803*a(n-2)+a(n-3).
G.f.: -40*x*(x^2+40545*x+14) / ((x-1)*(x^2-7300802*x+1)).
Showing 1-2 of 2 results.