A039052 Numbers whose base-8 representation has the same number of 0's and 3's.
1, 2, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 18, 20, 21, 22, 23, 24, 33, 34, 36, 37, 38, 39, 41, 42, 44, 45, 46, 47, 49, 50, 52, 53, 54, 55, 57, 58, 60, 61, 62, 63, 67, 73, 74, 76, 77, 78, 79, 81, 82, 84, 85, 86, 87, 88, 97, 98, 100, 101, 102, 103, 105, 106, 108, 109, 110
Offset: 1
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A007094.
Programs
-
Mathematica
Select[Range[200],DigitCount[#,8,0]==DigitCount[#,8,3]&] (* Harvey P. Dale, Sep 25 2017 *)