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.

A226485 Integer part of length of median to hypotenuse of primitive Pythagorean triangles sorted on hypotenuse.

Original entry on oeis.org

2, 6, 8, 12, 14, 18, 20, 26, 30, 32, 32, 36, 42, 42, 44, 48, 50, 54, 56, 62, 68, 72, 72, 74, 78, 84, 86, 90, 92, 92, 96, 98, 102, 102, 110, 110, 114, 116, 120, 128, 132, 132, 134, 138, 140, 144, 146, 152, 152, 156, 158, 162, 162, 168, 174, 176, 182, 182
Offset: 1

Views

Author

Mihir Mathur, Jun 09 2013

Keywords

Comments

The median to hypotenuse is equal to the circumradius.
The length of the median is sqrt((a^2)/2 + (b^2)/2 - (c^2)/4) where a,b,c are sides of the triangle. In case of Pythagorean triangles, m=h/2 were h is the hypotenuse.

Examples

			a(1)=2 as it is the integer portion of the length of the median to hypotenuse of triangle having sides 3,4,5.
Similarly, a(5)=14 as it is the integer portion of the length of the median to hypotenuse of triangle having sides 20,21,29.
		

Crossrefs

Cf. A020882.

Formula

a(n) = floor(A020882(n)/2).