Project Euler Problem 474
For a positive integer n and digits d, we define F(n, d) as the number of the divisors of n whose last digits equal d.
For a positive integer n and digits d, we define F(n, d) as the number of the divisors of n whose last digits equal d.