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-3 of 3 results.

A296796 Numbers k such that k is the altitude of a Heronian triangle with sides m - 11, m, m + 11.

Original entry on oeis.org

12, 15, 33, 63, 72, 132, 240, 273, 495, 897, 1020, 1848, 3348, 3807, 6897, 12495, 14208, 25740, 46632, 53025, 96063, 174033, 197892, 358512, 649500, 738543, 1337985, 2423967, 2756280, 4993428, 9046368, 10286577, 18635727, 33761505, 38390028, 69549480
Offset: 0

Views

Author

Sture Sjöstedt, Dec 20 2017

Keywords

Comments

a(n) gives the values of y satisfying 3*x^2 - y^2 = 363; corresponding x values are given by A296795.
a(n)/3 is the radius of the inscribed circle.

Examples

			If the sides are 17, 28, 39 the triangle has the altitude 15 against 28 and is a part of the Pythagorean triangle with the sides 15, 36, 39, so 15 is a term.
		

Programs

  • Mathematica
    CoefficientList[Series[3 (4 + 5 x + 11 x^2 + 5 x^3 + 4 x^4)/(1 - 4 x^3 + x^6), {x, 0, 35}], x] (* Michael De Vlieger, Dec 22 2017 *)
  • PARI
    Vec(3*(4 + 5*x + 11*x^2 + 5*x^3 + 4*x^4) / (1 - 4*x^3 + x^6) + O(x^40)) \\ Colin Barker, Dec 22 2017

Formula

From Colin Barker, Dec 22 2017: (Start)
G.f.: 3*(4 + 5*x + 11*x^2 + 5*x^3 + 4*x^4) / (1 - 4*x^3 + x^6).
a(n) = 4*a(n-3) - a(n-6) for n>5.
(End)

Extensions

More terms from Colin Barker, Dec 22 2017

A293817 Numbers k such that m=2*k is the middle side in a Heronian triangle with sides m-13, m , m+13.

Original entry on oeis.org

13, 14, 19, 26, 37, 62, 91, 134, 229, 338, 499, 854, 1261, 1862, 3187, 4706, 6949, 11894, 17563, 25934, 44389, 65546, 96787, 165662, 244621, 361214, 618259, 912938, 1348069, 2307374, 3407131, 5031062, 8611237, 12715586, 18776179, 32137574, 47455213, 70073654
Offset: 0

Views

Author

Sture Sjöstedt, Dec 27 2017

Keywords

Comments

a(n) gives values of x satisfying 3*x^2 - y^2 = 507; corresponding y values are given by A293846.

Examples

			The smallest triangle of this type with 3 acute angles has the sides: 61, 74, 87.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{0,0,4,0,0,-1},{13,14,19,26,37,62},40] (* Harvey P. Dale, Oct 10 2023 *)
  • PARI
    Vec((13 + 14*x + 19*x^2 - 26*x^3 - 19*x^4 - 14*x^5) / (1 - 4*x^3 + x^6) + O(x^40)) \\ Colin Barker, Dec 27 2017

Formula

a(n) = 4*a(n-3)-a(n-6), a(1)= 13, a(2)= 14, a(3)= 19, a(4)= 26, a(5)= 37, a(6)= 62.
G.f.: (13 + 14*x + 19*x^2 - 26*x^3 - 19*x^4 - 14*x^5) / (1 - 4*x^3 + x^6). - Colin Barker, Dec 27 2017

A293846 Numbers such that k is the altitude of a Heronian triangle with sides m-13, m, m+13.

Original entry on oeis.org

9, 24, 39, 60, 105, 156, 231, 396, 585, 864, 1479, 2184, 3225, 5520, 8151, 12036, 20601, 30420, 44919, 76884, 113529, 167640, 286935, 423696, 625641, 1070856, 1581255, 2334924, 3996489, 5901324, 8714055, 14915100, 22024041, 32521296, 55663911, 82194840
Offset: 0

Views

Author

Sture Sjöstedt, Dec 27 2017

Keywords

Comments

a(n) gives the values of y satifacting 3*x^2 - y^2 = 507; corresponding x values are given by A293817.
a(n)/3 is the radius of the inscribed circle.

Examples

			If the sides are 15, 28, 41 the triangle has the altitude 9 and is a part of the Pythagorean triangle with the sides 9, 40, 41, so 9 is a term.
		

Crossrefs

Programs

  • Mathematica
    CoefficientList[ Series[ 3(3x^4 +8x^3 +13x^2 +8x +3)/(x^6 -4x^3 +1), {x, 0, 35}], x] (* or *)
    LinearRecurrence[{0, 0, 4, 0, 0, -1}, 3 {3, 8, 13, 20, 35, 52}, 36] (* Robert G. Wilson v, Dec 27 2017 *)
  • PARI
    Vec(3*(3 + 8*x + 13*x^2 + 8*x^3 + 3*x^4) / (1 - 4*x^3 + x^6) + O(x^40)) \\ Colin Barker, Dec 27 2017

Formula

a(n) = 4*a(n-3) - a(n-6), a(1)=9, a(2)=24, a(3)=39, a(4)=60, a(5)=105, a(6)=156.
G.f.: 3*(3 + 8*x + 13*x^2 + 8*x^3 + 3*x^4) / (1 - 4*x^3 + x^6). - Colin Barker, Dec 27 2017
Showing 1-3 of 3 results.