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!)
A098943 Numbers where 6 is the only even decimal digit. 2
6, 16, 36, 56, 61, 63, 65, 66, 67, 69, 76, 96, 116, 136, 156, 161, 163, 165, 166, 167, 169, 176, 196, 316, 336, 356, 361, 363, 365, 366, 367, 369, 376, 396, 516, 536, 556, 561, 563, 565, 566, 567, 569, 576, 596, 611, 613, 615, 616, 617, 619, 631, 633, 635, 636 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

This is a 10-automatic language. - Charles R Greathouse IV, Oct 03 2011

LINKS

Michael S. Branicky, Table of n, a(n) for n = 1..10000

Index entries for 10-automatic sequences

PROG

(Perl) for (0..1000) {

    print "$_, " if (/^[135679]*6[135679]*$/)

} # Charles R Greathouse IV, Oct 05 2011

(Python)

from itertools import product

def agen(maxdigits):

    for digs in range(1, maxdigits+1):

        for p in product("135679", repeat=digs):

            if '6' in p: yield int("".join(p))

print([an for an in agen(3)]) # Michael S. Branicky, Jun 16 2021

CROSSREFS

Cf. A096844, A098941, A098942, A098944.

Sequence in context: A160997 A334047 A199629 * A321973 A178465 A247619

Adjacent sequences:  A098940 A098941 A098942 * A098944 A098945 A098946

KEYWORD

base,easy,nonn

AUTHOR

Eric Angelini, Oct 21 2004

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 19 03:31 EDT 2021. Contains 347550 sequences. (Running on oeis4.)