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!)
A303850 Lexicographically earliest sequence of distinct terms such that what emerges from the mask (right-aligned) is odd (see the Comments section for the mask explanation). 1
1, 10, 2, 11, 3, 12, 4, 13, 5, 14, 6, 15, 7, 16, 8, 17, 9, 18, 100, 19, 101, 20, 102, 21, 103, 22, 104, 23, 105, 24, 106, 25, 107, 26, 108, 27, 109, 28, 110, 29, 111, 30, 112, 31, 113, 32, 114, 33, 115, 34, 116, 35, 117, 36, 118, 37, 119, 38, 120, 39, 121, 40, 122, 41, 123, 42, 124, 43, 125, 44, 126, 45, 127 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

For any pair of consecutive terms, one of the terms uses fewer digits than the other. This term is called the mask. Put the mask on the other term, starting from the right. What is not covered by the mask forms an odd number on the left.

The sequence starts with a(1) = 1 and is always extended with the smallest integer not yet present that doesn't lead to a contradiction.

This sequence is a permutation of the positive integers, as all integers will appear at some point, either as mask or masked.

Comparing the two b-files (the first 10000 terms), this seems to be a duplicate of A303848. - R. J. Mathar, Jun 23 2018

LINKS

Jean-Marc Falcoz, Table of n, a(n) for n = 1..10001

EXAMPLE

In the pair (1,10), 1 is the mask; 0 emerges and is odd;

in the pair (10,2), 2 is the mask; 0 emerges and is odd;

in the pair (2,11), 2 is the mask; 1 emerges and is odd;

in the pair (11,3), 3 is the mask; 1 emerges and is odd;

...

in the pair (10199,2018), 2018 is the mask; 1 emerges and is odd;

etc.

CROSSREFS

Cf. A303785 (same idea, but the mask is left-aligned).

Sequence in context: A255668 A187815 A318486 * A303848 A303783 A341816

Adjacent sequences:  A303847 A303848 A303849 * A303851 A303852 A303853

KEYWORD

nonn,base

AUTHOR

Eric Angelini and Jean-Marc Falcoz, May 01 2018

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 August 2 02:53 EDT 2021. Contains 346409 sequences. (Running on oeis4.)