Project Euler #182: RSA encryption

  • + 0 comments

    This can be solved via evalutaing arithemtic sums using inclusion/exclusion principle. We have to handle special case where there are no odd prime factors in phi. The most challenging part is derive conditions for candidates e and properly evaluate sums using inclusion/exlcusion principle.