You are viewing a single comment's thread. Return to all comments →
I must be missing something about the denominator bound. Why is this p/q rejected for bound 9?
p/q 5/16 has two approximations 1/4 and 3/8 for bound 9.
I have answered my own question. 2/7 is closer than 1/4 to 5/16, so this value is rejected.
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #198: Ambiguous Numbers
You are viewing a single comment's thread. Return to all comments →
I must be missing something about the denominator bound. Why is this p/q rejected for bound 9?
p/q 5/16 has two approximations 1/4 and 3/8 for bound 9.
I have answered my own question. 2/7 is closer than 1/4 to 5/16, so this value is rejected.