Tool to search digits or digits patterns (id number, birth date, etc.) in the decimals of some numbers (Pi, e, square root of 2 etc.)
Search in Decimals - dCode
Tag(s) : Mathematics, Fun/Miscellaneous
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!
A rational or irrational number, can have a decimal representation with an infinite number of digits after the decimal point.
Usual numbers generally have periodic decimal expansion (a series of digits that repeats), but there are an infinity of numbers with an infinity of digits after the decimal point.
Generally, if the number is a relatively random universe number (like π or e or phi, even if it is a conjecture) then it is not possible to predict the position of a number or pattern of digits, the only mean is to browse them in the order.
Example: Search birth date '18/08/1998 'in pi, found in position 794769.
For dCode, the first decimal 1 in pi = 3.14159 is in position 1. Other programs use position 0, or position 2 (the digit 3 before the decimal point/dot is then considered as position 1).
dCode knows the decimals up to 1000000 (one million) digits.
A disjuctive number (rich number or universe number) is defined as a real number whose representation contains any combination of numbers.
Mathematicians believe that irrational constants such as $ \pi $ or $ \sqrt{2} $ are universe numbers but this has not yet been proven.
dCode retains ownership of the "Search in Decimals" source code. Any algorithm for the "Search in Decimals" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Search in Decimals" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Search in Decimals" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Search in Decimals" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Search in Decimals on dCode.fr [online website], retrieved on 2025-04-16,