A prime p is said to be non-coinciding if there exists a positive integer k such that no two powers of p have their rightmost k digits the same, in the same order.
Determine the sum of all non-coinciding primes p.
Your answer seems reasonable.
Find out if you're right!