OFFSET
0,5
COMMENTS
A binary carry of two positive integers is an overlap of the positions of 1's in their reversed binary expansion.
FORMULA
a(n) = A325102(n)/2.
EXAMPLE
The a(2) = 1 through a(9) = 16 pairs:
{1,2} {1,2} {1,2} {1,2} {1,2} {1,2} {1,2} {1,2}
{1,4} {1,4} {1,4} {1,4} {1,4} {1,4}
{2,4} {2,4} {1,6} {1,6} {1,6} {1,6}
{3,4} {2,5} {2,4} {2,4} {1,8} {1,8}
{3,4} {2,5} {2,5} {2,4} {2,4}
{3,4} {3,4} {2,5} {2,5}
{2,8} {2,8}
{3,4} {2,9}
{3,8} {3,4}
{4,8} {3,8}
{5,8} {4,8}
{6,8} {4,9}
{7,8} {5,8}
{6,8}
{6,9}
{7,8}
MATHEMATICA
Table[Length[Select[Subsets[Range[n], {2}], Intersection[Position[Reverse[IntegerDigits[#[[1]], 2]], 1], Position[Reverse[IntegerDigits[#[[2]], 2]], 1]]=={}&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 28 2019
STATUS
approved