Project Euler #156: Counting Digits

  • + 1 comment

    Let s(d) be the sum of all the solutions for which f(n,d) = n.

    Does this mean that s(d) is the total number of solutions, or it is the summation of the number n for which the statement is true? The example in the instructions doesn't help clarify this...