[go: up one dir, main page]

login
Revision History for A003817 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(0) = 0, a(n) = a(n-1) OR n.
(history; published version)
#107 by Alois P. Heinz at Thu Jul 18 04:44:06 EDT 2024
STATUS

reviewed

approved

#106 by Joerg Arndt at Thu Jul 18 02:11:57 EDT 2024
STATUS

proposed

reviewed

#105 by Chai Wah Wu at Wed Jul 17 23:46:01 EDT 2024
STATUS

editing

proposed

#104 by Chai Wah Wu at Wed Jul 17 23:45:54 EDT 2024
PROG

def A003817(n): return (~n)^(-1<<n.bit_length())+n -1 # Chai Wah Wu, Jul 17 2024

STATUS

proposed

editing

#103 by Chai Wah Wu at Wed Jul 17 23:43:17 EDT 2024
STATUS

editing

proposed

#102 by Chai Wah Wu at Wed Jul 17 23:43:14 EDT 2024
PROG

(Python)

def A003817(n): return (~n)^(-1<<n.bit_length())+n # Chai Wah Wu, Jul 17 2024

STATUS

approved

editing

#101 by Michael De Vlieger at Thu Feb 08 09:48:47 EST 2024
STATUS

reviewed

approved

#100 by Michel Marcus at Thu Feb 08 08:42:50 EST 2024
STATUS

proposed

reviewed

#99 by Paolo Xausa at Thu Feb 08 08:35:00 EST 2024
STATUS

editing

proposed

#98 by Paolo Xausa at Thu Feb 08 08:34:20 EST 2024
MATHEMATICA

2^BitLength[Range[0, 100]]-1 (* Paolo Xausa, Feb 08 2024 *)

STATUS

approved

editing