Humble numbers: Difference between revisions
Content added Content deleted
(→Fast and economical: task(14)) |
(→Fast and economical: task(16)) |
||
Line 3,130: | Line 3,130: | ||
(distribution(humbles($digits)) | range(0;length) as $i | " \($i+1): \(.[$i])") ; |
(distribution(humbles($digits)) | range(0;length) as $i | " \($i+1): \(.[$i])") ; |
||
task( |
task(16)</lang> |
||
{{out}} |
{{out}} |
||
<pre>Distribution of the number of decimal digits up to |
<pre>Distribution of the number of decimal digits up to 16 digits: |
||
1: 9 |
1: 9 |
||
2: 36 |
2: 36 |
||
Line 3,146: | Line 3,146: | ||
12: 3984 |
12: 3984 |
||
13: 5002 |
13: 5002 |
||
14: 6187 |
14: 6187 |
||
15: 7545 |
|||
16: 9081</pre> |
|||
=={{header|Julia}}== |
=={{header|Julia}}== |