Numbers in base-16 representation that cannot be written with decimal digits: Difference between revisions
Content added Content deleted
(J) |
No edit summary |
||
Line 708: | Line 708: | ||
255 |
255 |
||
} |
} |
||
</pre> |
|||
=={{header|Frink}}== |
|||
<lang frink>select[1 to 500, {|x| base16[x] =~ %r/^[a-z]+$/i} ]</lang> |
|||
{{out}} |
|||
<pre> |
|||
[10, 11, 12, 13, 14, 15, 170, 171, 172, 173, 174, 175, 186, 187, 188, 189, 190, 191, 202, 203, 204, 205, 206, 207, 218, 219, 220, 221, 222, 223, 234, 235, 236, 237, 238, 239, 250, 251, 252, 253, 254, 255] |
|||
</pre> |
</pre> |
||