Own digits power sum: Difference between revisions

m
→‎{{header|Phix}}: added comment (results collected in son order)
m (→‎{{header|Phix}}: added comment (results collected in son order))
Line 1,134:
<span style="color: #000080;font-style:italic;">-- looking for n digit numbers, taken is the number of digits collected so far,
-- any further digits must be "at" or higher. cps is the current power sum and
-- son is the smallest ordered number from those digits (eg 47 not 407).</span>
-- results collected in son order eg 370 407 153 371 (from 37 47 135 137).</span>
<span style="color: #008080;">if</span> <span style="color: #000000;">taken</span><span style="color: #0000FF;">=</span><span style="color: #000000;">n</span> <span style="color: #008080;">then</span>
<span style="color: #008080;">if</span> <span style="color: #000000;">cps</span><span style="color: #0000FF;">>=</span><span style="color: #000000;">minps</span>
7,803

edits