Jump to content

Self-describing numbers: Difference between revisions

→‎{{header|Haskell}}: Extended range up to 42101000
(→‎{{header|Haskell}}: Added output)
(→‎{{header|Haskell}}: Extended range up to 42101000)
Line 828:
main =
(print . concat) $
map decimalize . filter isSelfDescribing . allBaseNNumsOfLength <$> [1 .. 78]</lang>
{{Out}}
<pre>[1210,2020,21200,3211000,42101000]</pre>
 
=={{header|Icon}} and {{header|Unicon}}==
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.