[go: up one dir, main page]

login
A335211
Number of Heronian triangles with perimeter A335104(n) whose largest side length is a square.
3
1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 2, 1, 1, 3, 1, 1, 1, 1, 1, 3, 1, 2, 2, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 3, 1, 1, 2, 2, 1, 2, 1, 1, 1, 2, 5, 2, 1, 1, 1, 1, 1, 4
OFFSET
1,9
LINKS
Eric Weisstein's World of Mathematics, Heronian Triangle
Wikipedia, Integer Triangle
FORMULA
a(n) = Sum_{k=1..floor(b(n)/3)} Sum_{i=k..floor((b(n)-k)/2)} sign(floor((i+k)/(b(n)-i-k+1))) * chi(sqrt((b(n)/2)*(b(n)/2-i)*(b(n)/2-k)*(b(n)/2-(b(n)-i-k)))) * c(b(n)-i-k), where chi(n) = 1 - ceiling(n) + floor(n), c is the square characteristic (A010052) and b = A335104.
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 26 2020
STATUS
approved