A383306 Nonnegative integers whose difference between the largest and smallest digits is equal to the mode of its digits.
0, 101, 110, 112, 121, 202, 211, 220, 224, 242, 303, 330, 336, 363, 404, 422, 440, 448, 484, 505, 550, 606, 633, 660, 707, 770, 808, 844, 880, 909, 990, 1011, 1022, 1033, 1044, 1055, 1066, 1077, 1088, 1099, 1101, 1110, 1112, 1121, 1202, 1211, 1220, 1223, 1232
Offset: 1
Examples
363 is a term since 6 - 3 = 3 is equal to the mode of {3, 3, 6}.
Programs
-
Mathematica
Select[Range[0,1400], {Max[d=IntegerDigits[#]]-Min[d]}==Commonest[d] &]
Comments