Problem 290
Digital Signature

How many integers 0 ≤n &lt 1018 have the property that the sum of the digits of n equals the sum of digits of 137n?

These problems are part of Project Euler and are licensed under CC BY-NC-SA 2.0 UK

http://projecteuler.net/problem=290