Processing math: 100%
Search for a tool
Numbers Ending With…

Tool to list numbers that satisfy a condition on their last digits in order to list all numbers (up to X) ending with some given digits.

Results

Numbers Ending With… -

Tag(s) : Arithmetics, Data Processing

Share
Share
dCode and more

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!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Numbers Ending With…' tool for free! Thank you!

Numbers Ending With…

Numbers Ending with… Generator

x

Filter results

x

Answers to Questions (FAQ)

What it the end of a number? (Definition)

The end of a number is the digit (or list of digits) located on the right in its decimal notation.

For an integer, the last digit is the units digit.

For a finite floating point number it is the last digit of its finite decimal representation.

For a floating point number with non-finite decimal expansion, the number has no end.

How to list numbers that ends with a given digit?

To list numbers with the same end digits, it is possible to browse all the integers in ascending order and check their last digits.

Another faster method is to browse these same integers and to concatenate the final digit(s) to it.

Example: 5, 15, 25, 35 are the first numbers ending with 5 (and therefore all numbers are multiples of 5)

How to list multiples of some numbers?

Some digits positioned at the end of the number make it possible to deduce that the number is a multiple of N (under some conditions).

Example: A number ending in 00 is necessarily multiple of 100 (but also 50, 25, 10, 5, and 2)

Example: A number finishing in 5 is necessarily multiple of 5

Example: A number ending in 0, 2, 4, 6 or 8 is necessarily multiple of 2

What is the name of numbers ending with '0'?

Numbers that finish with one or more 0 are multiples of 10, sometimes called round numbers.

Mathematically speaking, a round number is different, it is an integer that does not have a decimal point nor decimal places, only an integer part.

How to determine the parity of a number with its last digit?

If the last digit of an integer is 0, 2, 4, 6 or 8 then the number is even.

If the last digit of an integer is 1, 3, 5, 7 or 9 then the number is odd.

What is an automorphic number?

An automorphic number is a natural integer n whose squared value n2 ends with the same digits as the number itself.

Example: 76^2 = 5776

Example: 625^2 = 390625

How to extract the last digit of a number in programming?

Several techniques are possible, depending on whether the number is stored as an integer or a string.

If the number is an integer, then the modulo operator (%) can be used.

Example: last_digit = number % 10

If the number is a string, then retrieving the last digit can be done with string operators like substr

How to find a phone number ending in XX?

To find a phone number that ends with specific digits, there are several options:

— Check your own contacts (to search for a partial number among your contacts, use the search bar in your phone's Contacts application and enter the last digits.

— Some platforms like WhatsApp, Telegram or Facebook Messenger allow you to search for contacts by phone number.

— List all the numbers (there can be several thousand) and call them (or search for them on the web).

Source code

dCode retains ownership of the "Numbers Ending With…" source code. Any algorithm for the "Numbers Ending With…" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Numbers Ending With…" 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 "Numbers Ending With…" 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.

Cite dCode

The content of the page "Numbers Ending With…" 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: https://www.dcode.fr/numbers-ending-with-some-digits
In a scientific article or book, the recommended bibliographic citation is: Numbers Ending With… on dCode.fr [online website], retrieved on 2025-04-26, https://www.dcode.fr/numbers-ending-with-some-digits

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Numbers Ending With…' tool for free! Thank you!


https://www.dcode.fr/numbers-ending-with-some-digits
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback