Positive decimal integers with the digit 1 occurring exactly twice: Difference between revisions
Positive decimal integers with the digit 1 occurring exactly twice (view source)
Revision as of 12:35, 3 January 2023
, 1 year agoadded Arturo implementation
(Added Euler) |
Drkameleon (talk | contribs) (added Arturo implementation) |
||
Line 136:
Found 27 numbers
</pre>
=={{header|arturo}}==
<syntaxhighlight lang="arturo">prints [11 101 110]
loop 2..9 'd -> prints ~"|d|11 1|d|1 11|d| "</syntaxhighlight>
{{out}}
<pre>11 101 110 211 121 112 311 131 113 411 141 114 511 151 115 611 161 116 711 171 117 811 181 118 911 191 119</pre>
=={{header|AWK}}==
<syntaxhighlight lang="awk">
|