# def A006257(n): return bool(n&(m:=1<>1)+(1<