Project Euler #119: Digit power sum

  • + 1 comment

    Base of n doesn't matter. The base B only matters for the digit summation. For example, with B=2, we have 5^4=1001110001_2=625. You can express the 5 and 4 in base 2 if you want, but it doesn't change the answer.

    • + 0 comments

      can u post some of the output for base=2, i don't know where i am going worng