Select Page

Project Euler 56: a^b maximum digit sum – SOLVED

Project Euler 56 Problem Statement Considering natural numbers of the form, ab, where a, b < 100, what is the maximum digit sum for all the powers? For example 187 is 612220032 and the digit sum for this power is 18. Solution Python natively supports...

Project Euler 20: Factorial digit sum – SOLVED

Project Euler 20 Problem Statement n! means n × (n − 1) × … × 3 × 2 × 1 Find the digit sum in the number 100! Solution Python natively supports arbitrary-precision integers and arithmetic with as many digits as necessary to perform a calculation.  100! requires...