A385294 Numbers whose digits all belong to the same residue class mod 5.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 16, 22, 27, 33, 38, 44, 49, 50, 55, 61, 66, 72, 77, 83, 88, 94, 99, 111, 116, 161, 166, 222, 227, 272, 277, 333, 338, 383, 388, 444, 449, 494, 499, 500, 505, 550, 555, 611, 616, 661, 666, 722, 727, 772, 777, 833, 838, 883, 888, 944, 949, 994, 999, 1111, 1116
Offset: 1
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..18424 (first 1000 terms from Stefano Spezia)
Crossrefs
Programs
-
Mathematica
Select[Range[0,1200],Length[DeleteDuplicates[Mod[IntegerDigits[#],5]]] == 1 &]