OFFSET
1,3
COMMENTS
Also: Number of cuboids of side lengths not exceeding n such that the shortest path over the surface from one vertex to the opposite one is integral (cf. link to Project Euler).
Also: partial sums of A143714, i.e., number of triples (a,b,c), 1 <= a <= b <= c <= n, such that (a+b)^2+c^2 is a square.
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..1000.
Project Euler, Problem 86: Cuboid Route, (2005)
FORMULA
a(n) = sum( A143714(i), i=1..n ).
EXAMPLE
PROG
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
M. F. Hasler, Aug 29 2008, Aug 30 2008
STATUS
approved