A binary carry of two positive integers is an overlap of the positions of 1's in their reversed binary digitsexpansion. For example, the binary representations of {2,5,8} are:
A binary carry of two positive integers is an overlap of the positions of 1's in their reversed binary digitsexpansion. For example, the binary representations of {2,5,8} are:
Alois P. Heinz, <a href="/A325095/b325095_1.txt">Table of n, a(n) for n = 0..16383</a>
editing
approved
Alois P. Heinz, <a href="/A325095/b325095_1.txt">Table of n, a(n) for n = 0..819116383</a>
`if`(Bits[And](n, t)>0, =0, b(n-1, Bits[Or](n, t)), 0))
b:= proc(n, t) option remember; `if`(n=0, 1, b(n-1, t)+
`if`(Bits[And](n, t)>0, 0, b(n-1, Bits[Or](n, t))))
end:
a:= n-> b(n, 0):
seq(a(n), n=0..63); # Alois P. Heinz, Mar 28 2019
approved
editing
editing
approved
nonn,look,new
Alois P. Heinz, <a href="/A325095/b325095.txt">Table of n, a(n) for n = 0..8191</a>
nonn,more,new
a(16)-a(55) from Alois P. Heinz, Mar 28 2019