OFFSET
0,5
PROG
(Python)
def A359045(n): return sum((-1 if (i&(i>>1)).bit_count()&1 else 1)*sum((-1 if (j&(j>>1)).bit_count()&1 else 1)*sum(-1 if (k&(k>>1)).bit_count()&1 else 1 for k in range(j+1, n+1)) for j in range(i+1, n+1)) for i in range(1, n+1))
CROSSREFS
KEYWORD
sign
AUTHOR
Chai Wah Wu, Feb 12 2023
STATUS
approved