A385324 Numbers whose digits are all powers of the same single-digit base.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 24, 28, 31, 33, 39, 41, 42, 44, 48, 51, 55, 61, 66, 71, 77, 81, 82, 84, 88, 91, 93, 99, 111, 112, 113, 114, 115, 116, 117, 118, 119, 121, 122, 124, 128, 131, 133, 139, 141, 142, 144, 148
Offset: 1
Examples
84 is a term since its digits 8 and 4 are both powers of 2.
Links
- Stefano Spezia, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[Range[0,148],SubsetQ[{0},dig=IntegerDigits[#]]||SubsetQ[{1,2,4,8},dig]||SubsetQ[{1,3,9},dig]||SubsetQ[{1,5},dig]||SubsetQ[{1,6},dig]||SubsetQ[{1,7},dig] &]