

A171922


For definition see Comments lines.


10



1, 2, 2, 4, 2, 4, 6, 4, 2, 11, 6, 11, 2, 4, 12, 4, 16, 11, 12, 14, 16, 6, 24, 2, 29, 9, 29, 4, 24, 12, 32, 14, 24, 11, 16, 29, 23, 6, 38, 8, 41, 26, 32, 40, 38, 16, 24, 2, 41, 43, 41, 29, 42, 12, 9, 71, 4, 11, 35, 53, 6, 11, 24, 14, 71, 23, 9, 11, 32, 35, 47, 2, 58, 24, 58
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Constructed in an attempt to find the lexicographically earliest sequence of positive integers, not all 1's, with the property that for n >= 2, if a(n1) = k, then min(m : a(n+m) = a(n), m > 0) = k.
However, the sequence is welldefined, even if should fail to satisfy that property.
The sequence is constructed as follows:
1) Given a(n1) = k, we require min(m : a(n+m) = a(n), m > 0) = k.
2) If a(1) = a(2) = 1, we find by induction that a(n) = 1 for all n, so this is forbidden.
3) For n > 1, if a(n) = k then a(n+b_n(i)) = k for all i, with b_n(0) = 0 and b_n(i+1) = b_n(i) + a(n+b_n(i)1). Hence every such k appears infinitely often.
4) Hence any a(n) not forced to be equal to a previous a(m) must have some new, neverseenbefore value (or violate (1)). Whether such force exists is completely determined by the a(m): 1 <= m < n.
5) We can fully characterize a valid sequence by C = [ c_i ], the distinct values that it takes in order of first appearance. We can then generate the original sequence using (1) and (4). The desired sequence is that generated by the lexically earliest C.
6) Given a(n) = k, we must avoid a(n+m) = km for all m > 0, else we would have a(n+1) = a(n+1+k) = a(n+m+1), violating (1).
7) Given known a(n1) = x, a(n+1) = y and trying to find a(n) = k, we have a(n+1) = a(n+k+1) = y. So by (6) and (3) we must avoid b_n(i) = y+1 for all i.
We make the (unproved) assumption that defending against both (6) and (7) is sufficient to avoid backtracking. That appears to work, and produces the current sequence. The associated sequence C is A171921.
The sequence has the property that its forwards van Eck transform (see A171898) is the same sequence prefixed with 0.  N. J. A. Sloane, Oct 23 2010


LINKS



CROSSREFS



KEYWORD

nonn


AUTHOR



STATUS

approved



