Jump to content

Munchausen numbers: Difference between revisions

m
formatting
(jq)
m (formatting)
Line 3:
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, equals ''n''.
 
('''Munchausen'''   is also spelled:   '''Münchhausen'''.)
 
 
 
For instance: &nbsp; <big> 3435 = 3<sup>3</sup> + 4<sup>4</sup> + 3<sup>3</sup> + 5<sup>5</sup> </big>
 
For instance: &nbsp; <big> 3435 = 3<sup>3</sup> + 4<sup>4</sup> + 3<sup>3</sup> + 5<sup>5</sup> </big>
 
;Task
Line 15 ⟶ 12:
 
;Also see:
:* &nbsp; The OEIS entry: &nbsp; [[oeis:A046253| A046253]]
:* &nbsp; The Wikipedia entry: &nbsp; [[wp:Perfect_digit-to-digit_invariant| Perfect digit-to-digit invariant, &nbsp; redirected from &nbsp; ''Munchausen Number'']]
<br/><br/>
 
=={{header|ALGOL 68}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.