I am uncertain if this rather mathematical question belongs here so please allow me to explain it first.
In an effort to evaluate a system performance to find / suggest ideal settings for Knime (memory utilization, parallelization etc.), I had the idea to use reproducible mathematical solutions.
However, after computing the results for all four digit numbers which meet the initial criteria, I noticed some deviation about which I kindly like to ask if any of you spot the mistake.
The total count of valid numbers which is 8991 is met. The max. count of iterations to calculate the Keprekar constant is also seven, hence met. However, the calculated constant 6741 is met too but only for most of the numbers. For about 68 the result is zero.
Furthermore, counting the amount of numbers per iteration mostly met the criteria too but one bin, the one for five iterations, deviates.
|Iteration||Expectation||Count*(Current Number)||Criteria met|
Neither Wikipedia nor Google could help me understand this. Does any of you?
Here is my workflow.
Many thanks in advance