IBM Research

PUZZLE   IBM-314

Pythagorean triple approximations to pi

IBM Research · Ponder This · 2024-06

IBM Ponder This #314 · June 2024

This riddle was suggested by Asaf Zimmerman - thanks, Asaf!

(A,B,C) is called a Pythagorean triple if A,B,C are positive integers and A2+B2=C2.

For example, (3,4,5),(24,7,25),(20,21,29), and (1333,444,1405) are all Pythagorean triples.

We know that there's no triple such that AB=π, because π is irrational, but we can try to get close to that. The triple (24,7,25) approximates π, but not very well, because 2473.4285, so |247π|<0.3, but not |247π|<101.

Your goal Find a Pythagorean triple (A,B,C) of numbers with 100 digits or less, such that |ABπ|<1020.

Give your solution in the format
A = 24
B = 7
C = 25

A bonus "*" will be given for finding a Pythagorean triple (D,E,F) of numbers with 100 digits or less, such that |DEπ|<1095. Give your solution in the same format as above.

Solution

Best opened after a real attempt

To be added.