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.

A068969 Areas of integer Heronian triangles [A068967(n), prime(A068967(n)), A068968(n)].

Original entry on oeis.org

6, 210, 528, 1680, 1800, 5304, 6930, 3150, 4650, 21000, 32760, 69342, 53550, 2170560, 2200200, 2501070, 646800, 4777080, 4796550, 11865840, 12243840, 12863760, 18064200, 30510480, 3232320, 66023100, 70691400, 47977380, 144357720, 185560830, 156128700, 320843040
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 30 2002

Keywords

Examples

			a(5) = 37: [37, A000040(37), A068968(5)] = [37,157,130], with s = (36+157+130)/2 = 162: Area^2 = s*(s-37)*(s-157)*(s-130) = 162*125*5*32 = 3240000 = 1800*1800, therefore a(5) = 1800.
		

Crossrefs

Programs

  • Mathematica
    area[{a_, b_, c_}] := Block[{s = (a + b + c)/2}, Sqrt[s (s-a) (s-b) (s-c)]]; zz[n_] := Block[{s, p = Prime[n], t, z, A}, s = Solve[(n^2 - 2 n p + p^2 - z) (z - n^2 - 2 n p - p^2) == t^2 && z>0 && t>0, {t, z}, Integers]; If[s == {}, {}, z = Sort@ Select[Sqrt[z /. s], IntegerQ]]; Select[Table[{n, p, e}, {e, z}], IntegerQ[A = area[#]] && A > 0 &]]; area /@ Join @@ Parallelize@ Array[zz, 4300] (* Giovanni Resta, Apr 20 2020 *)

Extensions

Erroneous term 25070627 removed and more terms from Giovanni Resta, Apr 20 2020

A068967 Numbers that define integer Heronian triangles [a(n), prime(a(n)), A068968(n)] with area A068969(n).

Original entry on oeis.org

3, 12, 25, 30, 37, 51, 60, 65, 65, 100, 116, 260, 273, 761, 761, 825, 884, 1092, 1476, 1695, 1695, 1752, 2415, 3048, 3552, 4045, 4134, 4264, 5429, 6357, 7267, 9316, 14027, 16095, 18850, 21576, 29925, 30261, 38164, 40562, 45982, 45982, 51805, 51805, 82000, 82000
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 30 2002

Keywords

Examples

			a(5) = 37: [37, A000040(37), A068968(5)] = [37,157,130], with s = (36+157+130)/2 = 162: Area^2 = s*(s-37)*(s-157)*(s-130) = 162*125*5*32 = 3240000 = 1800*1800, therefore A068969(5) = 1800.
		

Crossrefs

Programs

  • Mathematica
    area[{a_, b_, c_}] := Block[{s = (a + b + c)/2}, Sqrt[s (s-a) (s-b) (s-c)]]; zz[n_] := Block[{s, p = Prime@ n, t, z, A}, s = Solve[(n^2 - 2 n p + p^2 - z) (z - n^2 - 2 n p - p^2) == t^2 && z>0 && t>0, {t, z}, Integers]; If[s == {}, {}, z = Sort@ Select[Sqrt[z /. s], IntegerQ]]; Select[Table[{n, p, e}, {e, z}], IntegerQ[A = area[#]] && A > 0 &]]; (Join @@ Parallelize@ Array[zz, 4300])[[All, 1]] (* Giovanni Resta, Apr 20 2020 *)

Extensions

Erroneous term 2374 removed and more terms from Giovanni Resta, Apr 20 2020
Showing 1-2 of 2 results.