Jump to content

Munchausen numbers: Difference between revisions

m
formatting and adjustment of task description
m (formatting and adjustment of task description)
Line 1:
{{draft task}}
 
A ''[[wp:Munchausen number|Munchausen number]]'' is a natural number ''n'' the sum of whose digits (in base 10), each raised to the power of itself, isequals ''n'' itself.
 
For instance: <math>3^3+4^4+3^3+5^5 = 3435</math>
;Definition of Munchausen numbers
A ''[[wp:Munchausen number|Munchausen number]]'' is a natural number ''n'' the sum of whose digits (in base 10), each raised to the power of itself, is ''n'' itself.
 
;Task requirements
Finds all Munchausen numbers between 1 and 5000
 
;Task
FindsFind all Munchausen numbers between 1 and 5000
<br/><br/>
=={{header|ALGOL 68}}==
<lang algol68># Find Munchausen Numbers between 1 and 5000 #
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.