Talk:Munchausen numbers: Difference between revisions

imported>Dulcimoo
mNo edit summary
Line 15:
438579089
Note that is APL so * is exponentiation not multiplication.
 
: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.
:I see the Wikipedia page (Perfect digit-to-digit invariant, the link on the task page appears not to work) 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.
 
:Incidentally, there currently isn't an Algol 6<b>0</b> sample, the language you are singling out for criticism is Algol 6<b>8</b> :)
 
:BTW, please sign your posts.
 
:--[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 20:00, 17 August 2023 (UTC)
3,021

edits