OFFSET
1,2
COMMENTS
All terms in A013786 will not be in this sequence.
This sequence is probably finite.
No further terms 7^k, k <= 5*10^6. - Sean A. Irvine, Jan 30 2026
MATHEMATICA
Select[7^Range[0, 100000], Not[MemberQ[IntegerDigits[#], 7]]&]
PROG
(Python)
def sequence_terms(count):
terms = []
k = 0
while len(terms) < count:
v = 7 ** k
if '7' not in str(v):
terms.append(v)
k += 1
return terms
print(sequence_terms(9))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amelie King, Jan 25 2026
STATUS
approved
