Determine the minimum value of a positive integer N that satisfy the following conditions:
- N is a multiple of 101.
- N starts with and ends in 98.
- sod(N) = 94
*** sod(N) denotes the sum of the digits of N.
For example, sod(3456) = 3+4+5+6 = 18
(In reply to
re: Analytic solution by Charlie)
You are correct of course.
Half way through working on the solution, I lost sight of the conditions.
I will edit the prior solution.
|
Posted by Larry
on 2023-07-03 15:20:22 |