OFFSET
1,2
COMMENTS
For c-equivalence, see the comments to A233249. Briefly put, two positive integers m and n are c-equivalent in the sense of Vladimir Shevelev, if they have ordinary binary representations with the same multisets of substrings resulting from cutting the full strings immediately before each bit 1. A(n) is defined as the smallest positive integer, which is c-equivalent to n. Alternatively, in the manners of A114994, the lengths of these substrings can be considered as representing ways to write integers as sums of positive integers with arbitrarily ordered sums, and a(n) as the unique integer whose corresponding substring lengths form the corresponding integer partition.
For instance, the ordinary binary representations of 11, 13, and 14 are 1011, 1101, and 1110, respectively, which yields the equal multisets {"10","1","1"}, and {"1","10","1"}, and {"1","1","10"} of strings, respectively; whence 11, 13, and 14 are c-equivalent.
A(n) is an odd number if and only if the substring "1" appears at least once in the multiset. Since this is the case if and only if it also holds for the binary representation of n concatenated with itself, and A233312(n) = a(m) for the number m whose binary representation is this concatenation, we have a(n) == A233312(n) (mod 2) for all n. Moreover, empirical data has suggested that perhaps A233312(n)+1 == A171791(n+1) (mod 2) for all n >= 1. This relation holds in general if and only if a(n)+1 == A171791(n+1) for the same n, which in its turn is true if and only if the relation with fibbinary numbers first empirically observed by Paul D. Hanna in the comments to A171791 holds in general.
EXAMPLE
The set of integers c-equivalent to 38 is {37,38,41,44,50,52} (with the binary representations 100101, 100110, 101001, 101100, 110010, and 110100, respectively). The smallest of these numbers is 37. Thus, a(38) = 37. Alternatively, the substrings of 100110_binary = 38 correspond to writing 6 as the sum of 3+1+2, which is a permutation of the partition 6 = 3+2+1, where the right hand side corresponds to 37. (On the other hand, only 41 and 52 may be achieved from 38 by cyclic permutations of the bits, whence A163382(38) = 38.)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jörgen Backelin, Jan 16 2016
STATUS
approved