Reverse of a number

From testwiki
Revision as of 15:34, 10 October 2024 by imported>RiggedMint (Reverted edits by 86.120.211.33 (talk) to last version by Citation bot: reverting vandalism)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Palindrome numbers and its reverse are the same

The reverse of a number is a mathematical method to obtain from a number another written in the opposite way to the first.

For example, the reverse of 1234 is 4321.

Method

Given a positive integer x, the integer which has the same digits in the reverse order is:[1]

10log10xx99k=1log10x10kx10log10xk

Applications

Obtaining the reverse of a number is useful to predict if a number is Lychrel or not.[2][3]

References