OFFSET
1,2
COMMENTS
Is this sequence the same as A006165?
The answer is yes, as shown by Hsien-Kuei Hwang, S Janson, TH Tsai (2016). More precisely, a(n) = A006165(n+1) for all n >= 1. - N. J. A. Sloane, Nov 26 2017
Can be formulated as an integer linear program: maximize sum {i = 1 to n} x[i] subject to x[i] + x[j] + x[i XOR j] <= 2 for all i < j, x[i] in {0,1} for all i. - Rob Pratt, Feb 09 2010
REFERENCES
Hsien-Kuei Hwang, S Janson, TH Tsai, Exact and asymptotic solutions of the recurrence f(n) = f(floor(n/2)) + f(ceiling(n/2)) + g(n): theory and applications, Preprint, 2016; http://140.109.74.92/hk/wp-content/files/2016/12/aat-hhrr-1.pdf. Also Exact and Asymptotic Solutions of a Divide-and-Conquer Recurrence Dividing at Half: Theory and Applications, ACM Transactions on Algorithms, 13:4 (2017), #47; DOI: 10.1145/3127585
FORMULA
a(n) = A006165(n+1) for all n >= 1. - N. J. A. Sloane, Nov 26 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
John W. Layman, Dec 11 2002
EXTENSIONS
More terms from Rob Pratt, Feb 09 2010
STATUS
approved