Project Euler #198: Ambiguous Numbers

Sort by

recency

|

2 Discussions

|

  • + 1 comment

    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.

  • + 0 comments

    Nice problem. And thanks for the many test cases!

No more comments