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.

A236533 Number of non-congruent Heronian triangles with base length n whose apex lies on or within a space bounded by a semicircle of diameter n.

This page as a plain text file.
%I A236533 #10 Feb 28 2016 08:01:47
%S A236533 0,0,0,0,1,0,0,1,0,1,0,0,1,0,2,1,2,0,0,3,1,0,0,2,3,2,0,0,2,5,0,1,0,2,
%T A236533 2,0,4,0,4,5,2,2,0,2,3,0,0,4,0,4,6,6,3,0,1,2,0,3,0,8,2,0,2,1,8,1,0,4,
%U A236533 1,4,0,2,5,6,9,0,1,5,0,8,0,4,0,2,9
%N A236533 Number of non-congruent Heronian triangles with base length n whose apex lies on or within a space bounded by a semicircle of diameter n.
%e A236533 a(20)=3 as there are 3 non-congruent Heronian triangles with base length of 20 whose apex lies on or within the space bounded by a semicircle of diameter 20. The integer triples are (7,15,20), (11,13,20), (12,16,20).
%t A236533 gettriangles[c_] := (s=(a+b+c)/2; area2=s(s-a)(s-b)(s-c); n=0; Do[If[IntegerQ[Sqrt[area2]]&&a+b>c&&a^2+b^2<=c^2, n++], {b, 1, c}, {a, 1, b}]; n); Table[gettriangles[m], {m, 1, 200}]
%Y A236533 Cf. A236384.
%K A236533 nonn
%O A236533 1,15
%A A236533 _Frank M Jackson_, Jan 28 2014