OFFSET
1,2
COMMENTS
Might be called the local minima in A109812.
Also indices of records in A113233. These are the numbers that are the slowest to appear in A109812. They arrive late in A109812 because of having few zeros in their binary expansion. Every number of the form 2^k - 1 is necessarily a member, since any number less than 2^k - 1 must occur earlier in A109812. - David Broadhurst, Aug 17 2022
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..221
David Broadhurst, Table of n, A352336(n), A352359(n) for n = 1..221
EXAMPLE
The initial terms of A109812 and the smallest missing numbers (smn):
n a(n) smn
1 1 2
2 2 3
3 4 3
4 3 5
5 8 5
6 5 6
7 10 6
8 16 6
9 6 7
10 9 7
11 18 7
12 12 7
...
so the distinct smallest missing numbers are 1, 2, 3, 5, 6, 7, ...
MATHEMATICA
c[_] = 0; a[1] = c[1] = 1; u = 2; {1}~Join~Reap[Do[k = u; While[Nand[c[k] == 0, BitAnd[a[i - 1], k] == 0], k++]; If[a[i - 1] == u, Sow[u]; While[c[u] > 0, u++]]; Set[{a[i], c[k]}, {k, i}], {i, 2, nn}]][[-1, -1]]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michael De Vlieger, Mar 29 2022
EXTENSIONS
Edited by N. J. A. Sloane, Apr 26 2022 and May 03 2024
STATUS
approved