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.

A380301 Semiperimeter of the unique primitive Pythagorean triple whose inradius is the n-th odd prime and whose short leg is an even number.

Original entry on oeis.org

20, 42, 72, 156, 210, 342, 420, 600, 930, 1056, 1482, 1806, 1980, 2352, 2970, 3660, 3906, 4692, 5256, 5550, 6480, 7140, 8190, 9702, 10506, 10920, 11772, 12210, 13110, 16512, 17556, 19182, 19740, 22650, 23256, 25122, 27060, 28392, 30450, 32580, 33306, 37056, 37830, 39402
Offset: 0

Views

Author

Keywords

References

  • Miguel Ángel Pérez García-Ortega, José Manuel Sánchez Muñoz and José Miguel Blanco Casado, El Libro de las Ternas Pitagóricas, Preprint 2025.

Crossrefs

Programs

  • Mathematica
    a = Table[Prime[n], {n, 2, 54}]; Apply[Join, Map[{#^2 + 3 # + 2} &, a]]

Formula

a(n) = ( A367335(n,1) + A367335(n,2) + A367335(n,3) )/2.

A378966 Area of the unique primitive Pythagorean triple (a,b,c) such that (a-b+c)/2 is A002315(n) and such that its long leg and its hypotenuse are consecutive natural numbers.

Original entry on oeis.org

0, 546, 132840, 27132714, 5400270960, 1070181351954, 211922939930520, 41960773653737946, 8308058686721274720, 1644954930586205575554, 325692811387179035829960, 64485533166912548464047114, 12767809924078284782564882640, 2527961881127459862292727058546, 500523684710829430645198931758200
Offset: 0

Views

Author

Keywords

Examples

			For n=2, the short leg is A377726(2,1) = 13 and the long leg   so the semiperimeter is then a(2) = (13 * 84)/2 =546.
		

References

  • Miguel Ángel Pérez García-Ortega, José Manuel Sánchez Muñoz and José Miguel Blanco Casado, El Libro de las Ternas Pitagóricas, Preprint 2024.

Crossrefs

Programs

  • Mathematica
    ar[n_]:=ar[n]= Module[{ra},ra=((1+Sqrt[2])^(2n+1)-(Sqrt[2]-1)^(2n+1))/2;{ra(ra-1)(2ra-1)}];areas={};Do[areas=Join[areas,FullSimplify[ar[n]]],{n,0,16}];areas

Formula

a(n) = (A377726(n,1) * A377726(n,2))/2.

A379508 Sum of the legs of the unique primitive Pythagorean triple (a,b,c) such that (a-b+c)/2 is A002315(n) and such that its long leg and its hypotenuse are consecutive natural numbers.

Original entry on oeis.org

1, 97, 3361, 114241, 3880897, 131836321, 4478554081, 152139002497, 5168247530881, 175568277047521, 5964153172084897, 202605639573839041, 6882627592338442561, 233806732499933208097, 7942546277405390632801, 269812766699283348307201, 9165691521498228451812097, 311363698964240484013304161
Offset: 0

Views

Author

Keywords

Examples

			For n=2, the short leg is A377726(2,1) = 13 and the long leg is A377725(2,2) = 84 so the semiperimeter is then a(2) = 13 + 84 = 97.
		

Crossrefs

Programs

  • Mathematica
    s[n_]:=s[n]=Module[{ra},ra=((1+Sqrt[2])^(2n+1)-(Sqrt[2]-1)^(2n+1))/2;{2ra^2-1}];sumas={};Do[sumas=Join[semis,FullSimplify[s[n]]],{n,0,17}];sumas

Formula

a(n) = A377726(n,1) + A377726(n,2).
Showing 1-3 of 3 results.