[go: up one dir, main page]

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

Showing entries 1-10 | older changes
a(n) is the least number whose binary expansion can be obtained by reversing one or more consecutive bits in the binary expansion of n.
(history; published version)
#57 by OEIS Server at Wed Aug 14 11:06:06 EDT 2024
LINKS

Rémy Sigrist, <a href="/A373886/b373886_1.txt">Table of n, a(n) for n = 0..8190</a>

#56 by Michael De Vlieger at Wed Aug 14 11:06:06 EDT 2024
STATUS

proposed

approved

Discussion
Wed Aug 14
11:06
OEIS Server: Installed first b-file as b373886.txt.
#55 by Rémy Sigrist at Wed Aug 14 10:50:37 EDT 2024
STATUS

editing

proposed

#54 by Rémy Sigrist at Wed Aug 14 10:50:31 EDT 2024
LINKS

Rémy Sigrist, <a href="/A373886/b373886_1.txt">Table of n, a(n) for n = 0..8190</a>

STATUS

approved

editing

Discussion
Wed Aug 14
10:50
Rémy Sigrist: added b-file
#53 by Peter Luschny at Tue Aug 13 18:29:37 EDT 2024
STATUS

proposed

approved

#52 by Robert Israel at Tue Aug 13 12:55:39 EDT 2024
STATUS

editing

proposed

#51 by Robert Israel at Tue Aug 13 12:54:38 EDT 2024
KEYWORD

nonn,base,new,look

#50 by Robert Israel at Tue Aug 13 12:53:46 EDT 2024
MAPLE

f:= proc(n) local L, nL, i, j, k, r, x;

L:= convert(n, base, 2);

nL:= nops(L);

r:= n;

for i from 1 to nL-1 do

for j from i+1 to nL do

r:= min(r, n + add((L[j-k]-L[i+k])*2^(i+k-1), k=0..j-i));

od od;

r

end proc:

map(f, [$0..100]); # Robert Israel, Aug 13 2024

STATUS

reviewed

editing

#49 by Michel Marcus at Tue Aug 13 12:47:22 EDT 2024
STATUS

proposed

reviewed

#48 by Michael S. Branicky at Tue Aug 13 12:39:29 EDT 2024
STATUS

editing

proposed