Number of ordered pairs (i,j), 0 <= i,j < n, for which (i & j) is nonzero, where & is the bitwise AND operator.

A080572

Number of ordered pairs (i,j), 0 <= i,j < n, for which (i & j) is nonzero, where & is the bitwise AND operator.

Terms

    a(0) =0a(1) =0a(2) =1a(3) =2a(4) =7a(5) =8a(6) =15a(7) =24a(8) =37a(9) =38a(10) =49a(11) =62a(12) =81a(13) =98a(14) =121a(15) =146a(16) =175a(17) =176a(18) =195a(19) =216a(20) =247a(21) =272a(22) =307a(23) =344a(24) =387a(25) =420a(26) =463a(27) =508a(28) =559a(29) =608

External references