OFFSET
0,14
REFERENCES
A. M. Yaglom and I. M. Yaglom: Challenging Mathematical Problems with Elementary Solutions. Vol. I. Combinatorial Analysis and Probability Theory. New York: Dover Publications, Inc., 1987, p. 8, #30 (First published: San Francisco: Holden-Day, Inc., 1964)
LINKS
Felix Huber, Table of n, a(n) for n = 0..10000
FORMULA
For n=0..11 (mod 12), a(n) is respectively (n^2 + 6n - 7)/48, (n^2 - 4)/48, (n^2 + 6n + 21)/48, (n^2 - 16)/48, (n^2 + 6n - 7)/48, (n^2 + 12)/48, (n^2 + 6n + 5)/48, (n^2 - 16)/48, (n^2 + 6n + 9)/48, (n^2 - 4)/48, (n^2 + 6n + 5)/48
From Felix Huber, Sep 02 2025: (Start)
Conjecture: a(2*k-1) >= a(2*k). (End)
EXAMPLE
The a(18) = 2 triangles are (3, 7, 8) and (5, 6, 7). - Felix Huber, Sep 02 2025
MAPLE
A024162:=proc(n)
local a, x, z;
a:=0;
for x to n/3-1 do
for z from floor((n-x)/2)+1 to min((n-1)/2, n-2*x-1) do
if igcd(x, n-x-z, z)=1 then
a:=a+1
fi
od
od;
return a
end proc;
seq(A024162(n), n=0..72); # Felix Huber, Sep 02 2025
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
EXTENSIONS
Reference and formulae from Antreas P. Hatzipolakis (xpolakis(AT)otenet.gr), May 27 2000
Sequence revised, name clarified and a(0) = 0 prepended by Felix Huber, Sep 02 2025
STATUS
approved
