Find the sum of all positive integers less than 1000 ending in 3 or 7.

1 answer

3+7
+
10*sum(1 to 9)+9(3+7)
+
10*sum(10 to 99)+90(3+7)