login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A011537 Numbers that contain at least one 7. 30
7, 17, 27, 37, 47, 57, 67, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 87, 97, 107, 117, 127, 137, 147, 157, 167, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 187, 197, 207, 217, 227, 237, 247, 257, 267, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 287 (list; graph; refs; listen; history; text; internal format)
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

Index entries for 10-automatic sequences.

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

Complement of A052419.

Cf. A257668.

Sequence in context: A300186 A261934 A253075 * A283610 A043517 A277594

Adjacent sequences:  A011534 A011535 A011536 * A011538 A011539 A011540

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 16 21:28 EDT 2021. Contains 347473 sequences. (Running on oeis4.)