login
A031494
Numbers whose base-9 representation has 2 more 0's than 8's.
0
81, 162, 243, 324, 405, 486, 567, 730, 731, 732, 733, 734, 735, 736, 738, 747, 756, 765, 774, 783, 792, 810, 891, 972, 1053, 1134, 1215, 1296, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1467, 1476, 1485, 1494, 1503, 1512, 1521, 1539, 1620, 1701, 1782, 1863
OFFSET
1,1
MATHEMATICA
Select[Range@2000, (s=#; Differences[Count[IntegerDigits[s, 9], #]&/@{0, 8}]=={-2})&] (* Giorgos Kalogeropoulos, Jul 04 2021 *)
Select[Range[2000], DigitCount[#, 9, 0]==DigitCount[#, 9, 8]+2&] (* Harvey P. Dale, Dec 02 2024 *)
CROSSREFS
Cf. A007095.
Sequence in context: A044251 A043454 A044632 * A043324 A267696 A232923
KEYWORD
nonn,base
EXTENSIONS
More terms from Harvey P. Dale, Dec 02 2024
STATUS
approved