Minimum multiple of m where digital sum equals m: Difference between revisions
Content deleted Content added
Added Quackery. |
m →{{header|Quackery}}: simplified code |
||
Line 2,334: | Line 2,334: | ||
drop ] is digitsum ( n --> n ) |
drop ] is digitsum ( n --> n ) |
||
[] |
[] 1 |
||
40 times |
|||
[ |
[ 1 from |
||
⚫ | |||
[ dup dup index * |
|||
digitsum = if |
|||
⚫ | |||
1+ dip join ] |
|||
echo</syntaxhighlight> |
drop echo</syntaxhighlight> |
||
{{out}} |
{{out}} |
||