OFFSET
1,1
COMMENTS
Subsequence of primes is A257668. - Bernard Schott, Jul 21 2021
LINKS
Muniru A Asiru, Table of n, a(n) for n = 1..5000
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Feb 12 2017
MATHEMATICA
Select[Range[300], DigitCount[#, 10, 7]>0&] (* Harvey P. Dale, Mar 29 2016 *)
PROG
(PARI) is(n)=!!setsearch(Set(digits(n)), 7) \\ Charles R Greathouse IV, Feb 12 2017
(GAP) Filtered([1..280], n->7 in ListOfDigits(n)); # Muniru A Asiru, Feb 23 2019
(Python)
def ok(n): return '7' in str(n)
print(list(filter(ok, range(290)))) # Michael S. Branicky, Jul 17 2021
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved