Talk:Munchausen numbers: Difference between revisions
Content added Content deleted
m (The Wikipedia link now works) |
|||
Line 18: | Line 18: | ||
:APL I'm sure, will be using the mathematical definition of exponentiation where 0^0 is defined to be 1. As the title of this section of this discussion page indicates, Munchausen numbers use an alternative definition of 0^0 = 0 ( being vaguely from a mathematical background, I thought it was worth highlighting it ). |
:APL I'm sure, will be using the mathematical definition of exponentiation where 0^0 is defined to be 1. As the title of this section of this discussion page indicates, Munchausen numbers use an alternative definition of 0^0 = 0 ( being vaguely from a mathematical background, I thought it was worth highlighting it ). |
||
:If you use 0^0 = 1, there are only two Munchausen numbers, 1 and 3435. If you use 0^0 = 0, there are four: 0, 1, 3435 and 438579088. |
:If you use 0^0 = 1, there are only two Munchausen numbers, 1 and 3435. If you use 0^0 = 0, there are four: 0, 1, 3435 and 438579088. |
||
:I see the Wikipedia page (Perfect digit-to-digit invariant |
:I see the Wikipedia page (Perfect digit-to-digit invariant) now discusses Munchausen numbers using either convention, as does the Mathworld page (which spells Munchhausen with two h letters). |
||
:There are a number of other language samples for this task that show the four Munchausen numbers, including Java, Kotlin and Pascal. |
:There are a number of other language samples for this task that show the four Munchausen numbers, including Java, Kotlin and Pascal. |