STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
def A003817(n): return (~n)^(-1<<n.bit_length())+n -1 # Chai Wah Wu, Jul 17 2024
proposed
editing
editing
proposed
(Python)
def A003817(n): return (~n)^(-1<<n.bit_length())+n # Chai Wah Wu, Jul 17 2024
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
2^BitLength[Range[0, 100]]-1 (* Paolo Xausa, Feb 08 2024 *)
approved
editing