a(n) = the number of unordered triples of integers (a,b,c) with a+b+c=n, whose bitwise XOR is zero. Equivalently, the number of three-heap nim games with n stones which are in a losing position for the first player.
A128975
a(n) = the number of unordered triples of integers (a,b,c) with a+b+c=n, whose bitwise XOR is zero. Equivalently, the number of three-heap nim games with n stones which are in a losing position for the first player.
Terms
- a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =1a(6) =0a(7) =0a(8) =0a(9) =1a(10) =0a(11) =1a(12) =0a(13) =4a(14) =0a(15) =0a(16) =0a(17) =1a(18) =0a(19) =1a(20) =0a(21) =4a(22) =0a(23) =1a(24) =0a(25) =4a(26) =0a(27) =4a(28) =0a(29) =13
External references
- oeis: A128975