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.

A088558 Least odd leg of primitive Pythagorean triangles with even leg 4n.

Original entry on oeis.org

3, 15, 5, 63, 21, 7, 45, 255, 77, 9, 117, 55, 165, 33, 11, 1023, 285, 65, 357, 39, 13, 105, 525, 247, 621, 153, 725, 15, 837, 119, 957, 4095, 85, 273, 51, 17, 1365, 345, 133, 231, 1677, 95, 1845, 57, 19, 513, 2205, 1015, 2397, 609, 253, 105, 2805, 713, 21, 207, 325
Offset: 1

Views

Author

Lekraj Beedassy, Nov 17 2003

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := 2k + 1 /. Solve[k > 0 && 1 < h < 2k + 1 + 4n && (2k + 1)^2 + (4n)^2 == h^2 && GCD[2k + 1, 4n, h] == 1, {k, h}, Integers][[1]];
    a /@ Range[57] (* Jean-François Alcover, Mar 05 2020 *)

Extensions

Extended by Ray Chandler, Jul 14 2004