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.

A376210 Numbers k for which among all possible Pythagorean triangles with the hypotenuse 4*k+1, the minimum of the lengths of the shorter legs is even.

Original entry on oeis.org

4, 7, 9, 13, 16, 18, 25, 27, 34, 43, 49, 57, 60, 64, 70, 73, 81, 87, 93, 99, 100, 102, 111, 112, 114, 121, 123, 127, 133, 144, 148, 150, 157, 160, 165, 169, 175, 183, 186, 189, 196, 202, 207, 211, 214, 219, 225, 235, 241, 244, 249, 255, 256, 258, 262, 265, 273
Offset: 1

Views

Author

Hugo Pfoertner, Sep 21 2024

Keywords

Examples

			       Hypotenuses                A376210
       4k+1                       |  A376211
   k   A008846                    |  |  A376208
   |   |  Sorted legs [x,y] of    |  |  |  A375750
   |   |  Pythagorean triangles   |  |  |  |  A376209
   1   5  [3,4]                   .  X  .  X  .
   3  13  [5,12]                  .  X  .  X  .
   4  17  [8,15]                  X  .  X  .  .
   6  25  [7,24]                  .  X  .  X  .
   7  29  [20,21]                 X  .  X  .  .
   9  37  [12,35]                 X  .  X  .  .
  10  41  [9,40]                  .  X  .  X  .
  13  53  [28,45]                 X  .  X  .  .
  15  61  [11,60]                 .  X  .  X  .
  16  65  [16,63],[33,56],[39,52] X  .  X  X  X
  18  73  [48,55]                 X  .  X  .  .
  21  85  [13,84],[36,77],[51,68] .  X  X  X  X
		

Crossrefs

({A087937}-1)/4 is a subsequence.

Programs

  • PARI
    is_a376210_1(n,r=0) = my(c=4*n+1, q=qfbsolve(Qfb(1,0,1), c^2, 3), qd=#q); if(qd<2, 0, my(a=vecmin(abs(concat(q))[1..2*(qd-1)]), b=sqrtint(c^2-a^2)); a%2==r && gcd([a,b,c])==1)

A087938 Prime hypotenuse of primitive Pythagorean triangles with odd short leg (or even long leg).

Original entry on oeis.org

5, 13, 41, 61, 89, 97, 113, 149, 157, 181, 193, 233, 269, 277, 313, 317, 337, 353, 389, 421, 433, 461, 521, 541, 557, 569, 613, 617, 653, 673, 709, 761, 769, 773, 797, 821, 853, 881, 929, 937, 953, 1009, 1013, 1069, 1097, 1109, 1117, 1129, 1201, 1213, 1217
Offset: 1

Views

Author

Lekraj Beedassy, Oct 27 2003

Keywords

Comments

Ordered intersection of A002144 and A081961.
These same triangles have the property that sqrt(h+b) = t, where h = a(n), b is the even long leg, t is an odd integer, and the odd short leg is an odd multiple of t, including some instances where that multiple is 1 (i.e., t equals the short leg). A similar property applies to the triangles of A087937. Also see A008846. - Richard R. Forberg, May 11 2016

Crossrefs

Extensions

Corrected and extended by Ray Chandler, Oct 28 2003
Showing 1-2 of 2 results.