OFFSET
1,2
REFERENCES
Related to Mathematical Recreations, Scientific American, March 2000.
LINKS
Sean A. Irvine, Java program (github)
EXAMPLE
a(3)=4, since the allowable sequences are (1,2), (2,1), (3,1,2), (3,2,1).
(1,3) is not allowed because 1 AND 3 = 01 AND 11 (base 2) = 1.
(3,1) is not allowed because it can be extended to (3,1,2).
CROSSREFS
KEYWORD
nonn
AUTHOR
John W. Layman, Mar 21 2000
EXTENSIONS
a(17) from Sean A. Irvine, Jan 04 2022
STATUS
approved