login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A326108 Lexicographically earliest sequence of distinct terms such that a(n) is divisible by two and only two digits of a(n+1). 6
1, 11, 101, 110, 12, 13, 112, 14, 17, 113, 114, 16, 18, 19, 115, 15, 31, 116, 21, 33, 103, 117, 39, 118, 22, 102, 23, 119, 71, 121, 131, 141, 123, 130, 25, 51, 132, 24, 26, 120, 28, 27, 91, 77, 107, 151, 161, 127, 171, 93, 134, 124, 41, 181, 191, 211, 311, 411, 135, 35, 55, 105, 37, 511, 137, 611, 711, 99 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The first term that does not show any digit 1 is a(20) = 33.
LINKS
EXAMPLE
The sequence starts with 1, 11, 101, 110, 12, 13, 112, 14,... and we see indeed that a(2) = 11 is the smallest available integer showing two digits that divide a(1) = 1; in the same manner we have a(3) = 101 and a(4) = 110; a(5) = 12 because 12 is the smallest available integer that has two digits dividing a(4); etc.
PROG
(PARI) s=0; v=1; for (n=1, 68, print1 (v", "); s+=2^v; for (w=1, oo, if (!bittest(s, w) && #select(d -> d && v%d==0, digits(w))==2, v=w; break))) \\ Rémy Sigrist, Jul 11 2019
CROSSREFS
Cf. A326106 [a(n) is not divisible by any digit of a(n+1)], A326107 [a(n) is divisible by one and only one digit of a(n+1)], A326109 [a(n) is divisible by three and only three digits of a(n+1)] and A326110 [a(n) is divisible by four and only four digits of a(n+1)].
Sequence in context: A318647 A185121 A133835 * A292451 A292731 A225534
KEYWORD
base,nonn,look
AUTHOR
Eric Angelini and Carole Dubois, Jun 06 2019
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)