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.

Numbers Ending With... - dCode

Tag(s) : Arithmetics, Data Processing

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*!

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)

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 ending in 5 is necessarily multiple of 5

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

Numbers that end 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 point and decimal digits, only an integer part.

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

__Example:__ 76^2 = 57**76**

__Example:__ 625^2 = 390**625**

dCode retains ownership of the online 'Numbers Ending With...' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Numbers Ending With...' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Numbers Ending With...' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Numbers Ending With...' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Please, check our dCode Discord community for help requests!

NB: for encrypted messages, test our automatic cipher identifier!

number,list,end,ending,digit,condition,multiple

Source : https://www.dcode.fr/numbers-ending-with-some-digits

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲
Thanks to your feedback and relevant comments, dCode has developed the best 'Numbers Ending With...' tool, so feel free to write! Thank you!