OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[300], SequenceCount[IntegerDigits[8^#], IntegerDigits[#]]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 16 2018 *)
PROG
(Python)
def ok(n): return str(n) in str(8**n)
print(list(filter(ok, range(257)))) # Michael S. Branicky, Aug 13 2021
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved