project_euler.problem_048.sol1¶
Self Powers Problem 48
The series, 1^1 + 2^2 + 3^3 + … + 10^10 = 10405071317.
Find the last ten digits of the series, 1^1 + 2^2 + 3^3 + … + 1000^1000.
Functions¶
|
Returns the last 10 digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000. |
Module Contents¶
- project_euler.problem_048.sol1.solution()¶
Returns the last 10 digits of the series, 1^1 + 2^2 + 3^3 + … + 1000^1000.
>>> solution() '9110846700'