cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A323462 Smallest number that can be obtained from the "Choix de Bruxelles", version 2 (A323460) operation applied to n.

Original entry on oeis.org

1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 11, 11, 13, 12, 15, 13, 17, 14, 19, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 21, 21, 23, 22, 25, 23, 27, 24, 29, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 31, 31, 33, 32, 35, 33, 37, 34, 39, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 41
Offset: 1

Views

Author

N. J. A. Sloane, Jan 23 2019

Keywords

Comments

Smallest element in row n of irregular triangle in A323460.
Theorem: Let the decimal expansion of n be d_1 d_2 ... d_k. (i) If there is a substring d_r ... d_s which starts with d_r = 1 and ends with an even digit d_s = e, take that string which starts with the leftmost 1 and ends with the rightmost even digit, and halve it. (ii) Otherwise, if there is an even digit e, take the substring from d_1 to the rightmost such e and halve it. (iii) Otherwise, all d_i are odd, and a(n) = n.

Examples

			From 23 we can reach any of 13, 43, 26, 46, and the smallest of these is a(23) = 13.
		

Crossrefs