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.

A095266 A sequence generated from the Narayana triangle considered as a matrix, or from Pascal's triangle.

Original entry on oeis.org

1, 42, 303, 1144, 3105, 6906, 13447, 23808, 39249, 61210, 91311, 131352, 183313, 249354, 331815, 433216, 556257, 703818, 878959, 1084920, 1325121, 1603162, 1922823, 2288064, 2703025, 3172026, 3699567, 4290328, 4949169, 5681130
Offset: 1

Views

Author

Gary W. Adamson, May 31 2004

Keywords

Comments

A095267 has the same recursion rule but is derived from the matrix derived from A056939 (a type of generalized Narayana triangle).

Examples

			a(7) = 23808 = 5*a(6) - 10*a(5) + 10*a(4) - 5*a(3) + a(2) = 5*13447 - 10*6906 + 10*3105 - 5*1144 + 303.
		

Crossrefs

Programs

  • Mathematica
    a[n_] := (MatrixPower[{{1, 0, 0, 0, 0}, {1, 1, 0, 0, 0}, {1, 3, 1, 0, 0}, {1, 6, 6, 1, 0}, {1, 10, 20, 10, 1}}, n].{{1}, {0}, {0}, {0}, {0}})[[5, 1]]; Table[ a[n], {n, 30}] (* Robert G. Wilson v, Jun 05 2004 *)

Formula

a(n+6) = 5*a(n+5) - 10*a(n+4) + 10*a(n+3) - 5*a(n+2) + a(n), where the multipliers with changed signs are found in the characteristic polynomial of the generating matrix M: x^5 - 5x^4 + 10x^3 - 10x^2 + 5x - 1. Let M be the 5th-order Matrix M, having Narayana triangle (A001263) rows (fill in with zeros): [1 0 0 0 0 / 1 1 0 0 0 / 1 3 1 0 0 / 1 6 6 1 0 / 1 10 20 10 1]. Then M^n *[1 0 0 0 0] = [1 n A000326(n) A005915(n) a(n)] where A000326 = the pentagonal numbers and A005915 = the hex prism numbers.
From Colin Barker, Oct 21 2012: (Start)
a(n) = (n*(-8 + 25*n - 30*n^2 + 15*n^3))/2.
G.f.: -x*(39*x^3 + 103*x^2 + 37*x + 1)/(x-1)^5. (End)

Extensions

Edited and corrected by Robert G. Wilson v, Jun 05 2004
Typo in recurrence fixed by Colin Barker, Oct 21 2012

A095288 Least middle side of 2^n primitive arithmetic triangles, i.e., primitive Heronian triangles whose sides are in arithmetic progression.

Original entry on oeis.org

4, 28, 364, 6916, 214396, 7932652, 341104036, 20807346196, 1394092195132, 101768730244636, 8039729689326244, 779853779864645668, 80324939326058503804, 8755418386540376914636, 1111938135090627868158772
Offset: 0

Views

Author

Lekraj Beedassy, Jul 02 2004

Keywords

Examples

			6916 is the first middle side belonging to 2^3=8 arithmetic triangles, viz., (3485,6916,10347), (3747,6916,10085), (4133,6916,9699), (4299,6916,9533), (4827,6916,9005), (5045,6916,8787), (5333,6916,8499), (6267,6916,7565) of common differences 3431, 3169, 2783, 2617, 2089, 1871, 1583, 649 respectively and integral areas. (Perimeter is obviously three times middle side and hence the same for all the triangles.)
		

Crossrefs

Cf. A086909.

Formula

a(n) = A095267(n)/3 = a(n-1) * A002476(n). - Ray Chandler, Jul 09 2004

Extensions

More terms from Ray Chandler, Jul 09 2004
Showing 1-2 of 2 results.