History of Mathematics
in India IIT Gandhinagar, home

Project Brahmagupta · problem 10

Rational Diagonals

For a cyclic quadrilateral with consecutive side lengths a,b,c,da,b,c,d, the diagonal lengths p,qp,q satisfy

p2=(ab+cd)(ac+bd)ad+bc,q2=(ad+bc)(ac+bd)ab+cd.p^2=\frac{(ab+cd)(ac+bd)}{ad+bc}, \qquad q^2=\frac{(ad+bc)(ac+bd)}{ab+cd}.

Although the product pqpq is always rational, the individual diagonals need not be. Determine the number of quadruples of distinct positive integers

a≤b≤c≤d,a+b+c+d=1000,a\le b\le c\le d, \qquad a+b+c+d=1000,

for which both diagonals are rational.

Try it

Check an answer

Enter a number, or a decimal where the problem asks for one. Only a hash of the answer is kept on this page.

Problem 10 of Project Brahmagupta, published under the Creative Commons Attribution 4.0 licence. No solutions are published.