dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day! A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

D'ni numeration is a fictional number system used in the Myst and Riven series of video games which has the mathematical particularity of counting in base 25.

How to convert a number into D'ni?

The D'ni numeral system uses the base 25 to count and therefore has 25 symbols.

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

Note that there is a 26th symbol which is equal to 25 , just like is also 25.

To convert a number (integer, in decimal writing), start by writing it in base 25 (see writing in base N), then substitute each value (between 0 and 24) by the corresponding D'ni symbol.

The conversion begins by replacing each symbol of the base 25 D'ni by its value (between 0 and 24) then processing the number obtained as written in base 25 in order to convert it to base 10 (decimal).

Example: matches the digits $ 4 $ and $ 23 $, i.e. $ [4,23]_{(25)} $ hence the conversion calculation $ 4 \times 25 + 23 = 123 $ in base 10.

How to recognize D'ni digits? (Identification)

The D'ni numeric symbols are square and have inside either lines (horizontal, vertical or diagonal) or arcs of circles connecting 2 adjacent corners.

Any references to Myst and Riven video games are clues.

Source code

dCode retains ownership of the "D'ni Numerals" source code. Except explicit open source licence (indicated Creative Commons / free), the "D'ni Numerals" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "D'ni Numerals" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "D'ni Numerals" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "D'ni Numerals" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography): D'ni Numerals on dCode.fr [online website], retrieved on 2024-06-15, https://www.dcode.fr/dni-numerals