Project Euler #151: Paper sheets of standard sizes: an expected-value problem.

  • [deleted]
    + 1 comment

    you can google modular multiplicative inverse