Talk:Nimber arithmetic: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "== Task description error? == The task description asserts: *the nim-product of a Fermat power ({{math|2<sup>2<sup><var>k</var></sup></sup>}}) and a smaller number is their...")
 
mNo edit summary
Line 5: Line 5:
*the nim-product of a Fermat power ({{math|2<sup>2<sup><var>k</var></sup></sup>}}) and a smaller number is their ordinary product
*the nim-product of a Fermat power ({{math|2<sup>2<sup><var>k</var></sup></sup>}}) and a smaller number is their ordinary product


But 16 is a fermat power and inspecting implementations here, I see that they would produce 11112 as the result for 7 &otimes; 16 --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 20:24, 23 February 2022 (UTC)
But 16 is a fermat power and inspecting implementations here, I see that they would produce 11112 as the result for 7 &otimes; 16

(Also, the definitions require reasoning about infinities of negative numbers but the task includes no discussion of how that is handled.)

--[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 20:24, 23 February 2022 (UTC)

Revision as of 20:29, 23 February 2022

Task description error?

The task description asserts:

  • the nim-product of a Fermat power (22k) and a smaller number is their ordinary product

But 16 is a fermat power and inspecting implementations here, I see that they would produce 11112 as the result for 7 ⊗ 16

(Also, the definitions require reasoning about infinities of negative numbers but the task includes no discussion of how that is handled.)

--Rdm (talk) 20:24, 23 February 2022 (UTC)