gives the integer whose digits are reversed with respect to those of the integer n.
gives the integer whose digits in base b are reversed with respect to those of n.
gives the integer with reversed digits after padding n with zeros on the left to have len digits.
Examplesopen allclose all
Basic Examples (3)
Properties & Relations (3)
When the last digit of an integer is different from zero, IntegerReverse is its own inverse:
Addition of an integer n and IntegerReverse[n] gives a palindromic number in some cases: