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.

A070079 a(n) gives the odd leg of the unique primitive Pythagorean triangle with hypotenuse A002144(n).

Original entry on oeis.org

3, 5, 15, 21, 35, 9, 45, 11, 55, 39, 65, 99, 91, 15, 105, 51, 85, 165, 19, 95, 195, 221, 105, 209, 255, 69, 115, 231, 285, 25, 75, 175, 299, 225, 275, 189, 325, 399, 391, 29, 145, 351, 425, 261, 459, 279, 341, 165, 231, 575, 465, 551, 35, 105, 609, 315, 589, 385, 675
Offset: 1

Views

Author

Lekraj Beedassy, May 06 2002

Keywords

Comments

Consider sequence A002144 of primes congruent to 1 (mod 4) and equal to x^2 + y^2, with y>x given by A002330 and A002331; sequence gives values y^2 - x^2.
Odd legs of primitive Pythagorean triangles with unique (prime) hypotenuse (A002144), sorted on the latter. Corresponding even legs are given by 4*A070151 (or A145046). - Lekraj Beedassy, Jul 22 2005

Examples

			The following table shows the relationship
between several closely related sequences:
Here p = A002144 = primes == 1 mod 4, p = a^2+b^2 with a < b;
a = A002331, b = A002330, t_1 = ab/2 = A070151;
p^2 = c^2+d^2 with c < d; c = A002366, d = A002365,
t_2 = 2ab = A145046, t_3 = b^2-a^2 = A070079,
with {c,d} = {t_2, t_3}, t_4 = cd/2 = ab(b^2-a^2).
---------------------------------
.p..a..b..t_1..c...d.t_2.t_3..t_4
---------------------------------
.5..1..2...1...3...4...4...3....6
13..2..3...3...5..12..12...5...30
17..1..4...2...8..15...8..15...60
29..2..5...5..20..21..20..21..210
37..1..6...3..12..35..12..35..210
41..4..5..10...9..40..40...9..180
53..2..7...7..28..45..28..45..630
.................................
		

Crossrefs

Programs

  • Mathematica
    pp = Select[ Range[200] // Prime, Mod[#, 4] == 1 &]; f[p_] := y^2 - x^2 /. ToRules[ Reduce[0 <= x <= y && p == x^2 + y^2, {x, y}, Integers]]; A070079 = f /@ pp (* Jean-François Alcover, Jan 15 2015 *)

Formula

a(n)=A079886(n)*A079887(n) - Benoit Cloitre, Jan 13 2003
a(n) is the odd positive integer with A080109(n) = A002144(n)^2 = a(n)^2 + (4*A070151(n))^2, in this unique decomposition into positive squares (up to order). See the Lekraj Beedassy, comment. - Wolfdieter Lang, Jan 13 2015

Extensions

More terms from Benoit Cloitre, Jan 13 2003
Edited: Used a different name and moved old name to the comment section. - Wolfdieter Lang, Jan 13 2015

A079887 Values of y-x where p runs through the primes of form 4k+1 and p=x^2+y^2, 0<=x<=y.

Original entry on oeis.org

1, 1, 3, 3, 5, 1, 5, 1, 5, 3, 5, 9, 7, 1, 7, 3, 5, 11, 1, 5, 13, 13, 5, 11, 15, 3, 5, 11, 15, 1, 3, 7, 13, 9, 11, 7, 13, 19, 17, 1, 5, 13, 17, 9, 17, 9, 11, 5, 7, 23, 15, 19, 1, 3, 21, 9, 19, 11, 25, 21, 7, 25, 17, 1, 13, 5, 15, 23, 11, 17, 5, 25, 23, 9, 3, 5, 19, 15, 27, 25, 13, 1, 19, 29, 27
Offset: 1

Views

Author

Benoit Cloitre, Jan 13 2003

Keywords

Comments

Also values of x where p runs through the primes of form 4k+1 and 2*p=x^2+y^2, 0<=xColin Barker, Jul 07 2014

Crossrefs

Programs

  • Mathematica
    pp = Select[ Range[200] // Prime, Mod[#, 4] == 1 &]; f[p_] := y - x /. ToRules[ Reduce[0 <= x <= y && p == x^2 + y^2, {x, y}, Integers]]; A079887 = f /@ pp (* Jean-François Alcover, Jan 15 2015 *)

Formula

a(n) = A002330(n+1)-A002331(n+1). - R. J. Mathar, Jan 09 2017

A096029 Values (x+y-1)/2, where x^2+y^2=p runs over the Pythagorean primes A002144.

Original entry on oeis.org

1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 5, 6, 7, 7, 8, 8, 7, 9, 9, 7, 8, 10, 9, 8, 11, 11, 10, 9, 12, 12, 12, 11, 12, 12, 13, 12, 10, 11, 14, 14, 13, 12, 14, 13, 15, 15, 16, 16, 12, 15, 14, 17, 17, 14, 17, 15, 17, 13, 15, 18, 14, 17, 19, 18, 19, 18, 16, 19, 18, 20, 16, 17, 20, 21, 21, 19, 20
Offset: 1

Views

Author

Lekraj Beedassy, Jun 16 2004

Keywords

Crossrefs

Formula

a(n)=(A079886(n) - 1)/2

Extensions

More terms from Ray Chandler, Jun 26 2004
Showing 1-3 of 3 results.