OFFSET
1,3
LINKS
Stefano Spezia, Table of n, a(n) for n = 1..10000
EXAMPLE
84 is a term since its digits 8 and 4 are both powers of 2.
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] &]
CROSSREFS
KEYWORD
AUTHOR
Stefano Spezia, Jun 25 2025
STATUS
approved
