Problem 48: Self powers

*Difficulty: very easy

Problem:

The series, 11 + 22 + 33 + … + 1010 = 10405071317.

Find the last ten digits of the series, 11 + 22 + 33 + … + 10001000.

How to solve:

I think this problem is no more than teaching you how to use APIs. This problem is just the matter of picking language, and I think Java is the best suit for this kind of problem – dealing with big numbers.

Screen Shot 2016-07-04 at 11.42.41 PM

 

Advertisements