Munchausen numbers: Difference between revisions
Content added Content deleted
(add PicoLisp) |
|||
Line 898: | Line 898: | ||
=={{header|PicoLisp}}== |
=={{header|PicoLisp}}== |
||
<lang PicoLisp>(for |
<lang PicoLisp>(for N 5000 |
||
(and |
(and |
||
(= |
(= |
||
N |
|||
(sum |
(sum |
||
'((N) (** N N)) |
'((N) (** N N)) |
||
(mapcar format (chop |
(mapcar format (chop N)) ) ) |
||
(println |
(println N) ) )</lang> |
||
{{out}} |
{{out}} |
||
<pre> |
<pre> |