Project Euler #124: Ordered radicals

  • + 0 comments

    Dang, this one was tough. Anyone able to do this with a single approach? I had to split it into two: one for large L (e.g. L > 1000000), and one for small (<= 1000000).