Ad
  • Custom User Avatar

    You may have commented another version of this solution, but I do not see how primes are recomputed. First, the upper bound is computed, then all primes until the upper bound.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution