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!)
A303784 Lexicographically earliest sequence of distinct terms such that what emerges from the mask is even (see the Comment section for the mask explanation). 6
1, 10, 2, 12, 3, 14, 4, 16, 5, 18, 6, 20, 7, 22, 8, 24, 9, 26, 100, 11, 102, 13, 104, 15, 106, 17, 108, 19, 110, 21, 112, 23, 114, 25, 116, 27, 118, 28, 120, 29, 122, 30, 124, 31, 126, 32, 128, 33, 130, 34, 132, 35, 134, 36, 136, 37, 138, 38, 140, 39, 142, 40, 144, 41, 146, 42, 148, 43, 150, 44, 152, 45, 154, 46, 156, 47 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For any pair of contiguous 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 left. What is not covered by the mask forms an even number.
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 integers > 0, as all integers will appear at some point, either as mask or masked.
LINKS
EXAMPLE
In the pair (1,10), 1 is the mask; 0 emerges and is even;
In the pair (10,2), 2 is the mask; 0 emerges and is even;
In the pair (2,12), 2 is the mask; 2 emerges and is even;
In the pair (12,3), 3 is the mask; 2 emerges and is even;
...
In the pair (690,2018), 690 is the mask; 8 emerges and is even;
etc.
CROSSREFS
Cf. A303782 (same idea with primes, A303783 (with squares), A303785 (with odd numbers), A303786 (rebuilds term by term the sequence itself).
Sequence in context: A334837 A327689 A317387 * A278649 A084455 A069532
KEYWORD
nonn,base
AUTHOR
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 May 10 01:53 EDT 2024. Contains 372354 sequences. (Running on oeis4.)