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.

A254857 Octagonal numbers (A000567) that are also centered heptagonal numbers (A069099).

Original entry on oeis.org

1, 8, 736, 5461, 496133, 3680776, 334392976, 2480837633, 225380369761, 1672080883936, 151906034826008, 1126980034935301, 102384442092359701, 759582871465509008, 69006962064215612536, 511957728387718136161, 46510590046839230489633, 345058749350450558263576
Offset: 1

Views

Author

Colin Barker, Feb 08 2015

Keywords

Examples

			736 is in the sequence because it is the 16th octagonal number and the 15th centered heptagonal number.
		

Crossrefs

Programs

  • PARI
    Vec(-x*(x^4+7*x^3+54*x^2+7*x+1)/((x-1)*(x^2-26*x+1)*(x^2+26*x+1)) + O(x^100))

Formula

a(n) = a(n-1)+674*a(n-2)-674*a(n-3)-a(n-4)+a(n-5).
G.f.: -x*(x^4+7*x^3+54*x^2+7*x+1) / ((x-1)*(x^2-26*x+1)*(x^2+26*x+1)).