A133377 Complete list of decimal numbers that when converted to hexadecimal produce the mirror image of the original number.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 53, 371, 5141, 99481
Offset: 1
Examples
53 = 35_16; 371 = 173_16.
Programs
-
Mathematica
Select[Range[0,10^5],IntegerDigits[#]==Reverse[IntegerDigits[#,16]]&] (* James C. McMahon, Mar 17 2025 *)
-
PARI
isok(n) = digits(n, 10) == Vecrev(digits(n, 16)); \\ Michel Marcus, Oct 05 2019
Comments