Minimum positive multiple in base 10 using only 0 and 1: Difference between revisions
Minimum positive multiple in base 10 using only 0 and 1 (view source)
Revision as of 23:33, 2 April 2020
, 4 years ago→{{header|Phix}}: clarified inner test
(→{{header|Dc}}: really is Tcl, not Dc; sorry) |
m (→{{header|Phix}}: clarified inner test) |
||
Line 911:
val[x+1] = ten
for j=1 to NUM do
if not pow[k]
pow[k]=x -- (k was seen in this iteration)
end if
end if
end for
|