Nimber Arithmetic : A deeper dive in Nim

Reading time: 25 minutes | Coding time: 10 minutes

Before we move on to Nimber Arithmetic, we need to know what exactly a nimber is. In mathematics, the nimbers, also know as Grundy Numbers (Read this article), where they are defined as the values of heaps in the game Nim. The nimbers are the ordinal numbers endowed with nimber addition and nimber multiplication, which are distinct from ordinal addition and ordinal multiplication.

This is a companion discussion topic for the original entry at