This website is a semi-functional mirror of the original Project Euler. More information is available on GitHub.
Powers With Trailing Digits
Problem 455
Published on 18 January 2014 at 10:00 pm [Server Time]
Let f(n) be the largest positive integer x less than 109 such that the last 9 digits of nx form the number x (including leading zeros), or zero if no such integer exists.
For example:
- f(4) = 411728896 (4411728896 = ...490411728896)
- f(10) = 0
- f(157) = 743757 (157743757 = ...567000743757)
- Σf(n), 2 ≤ n ≤ 103 = 442530011399
Find Σf(n), 2 ≤ n ≤ 106.
Go to back to Problems