STATUS
editing
approved
editing
approved
(PARI) a(n)=2*n+1-hammingweight(n) \\ Charles R Greathouse IV, Dec 29 2022
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
(Python 3.10+)
def A101925(n): return (n<<1)-n.bit_count()+1 # Chai Wah Wu, Jul 13 2022
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed