[go: up one dir, main page]

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

Showing entries 1-10 | older changes
#11 by N. J. A. Sloane at Tue Nov 28 00:06:43 EST 2023
STATUS

proposed

approved

#10 by Chai Wah Wu at Tue Nov 28 00:06:25 EST 2023
STATUS

editing

proposed

#9 by Chai Wah Wu at Tue Nov 28 00:06:11 EST 2023
PROG

c, l = 1, 2, len(s)

c += int(s[l-i])<<1

if c<<1 <= i:

STATUS

proposed

editing

#8 by Chai Wah Wu at Tue Nov 28 00:02:45 EST 2023
STATUS

editing

proposed

#7 by Chai Wah Wu at Tue Nov 28 00:02:36 EST 2023
PROG

(Python)

from itertools import count, islice

def A367625_gen(startvalue=0): # generator of terms >= startvalue

if startvalue <= 0:

yield 0

for n in count(max(startvalue, 1)):

s = bin(n)[2:]

c, l = 1, len(s)

for i in range(1, l+1):

c += int(s[l-i])

if c<<1 <= i:

break

else:

yield n

A367625_list = list(islice(A367625_gen(), 30)) # Chai Wah Wu, Nov 28 2023

STATUS

approved

editing

#6 by OEIS Server at Mon Nov 27 22:47:08 EST 2023
LINKS

N. J. A. Sloane, <a href="/A367625/b367625_1.txt">Table of n, a(n) for n = 2..13496</a>

#5 by N. J. A. Sloane at Mon Nov 27 22:47:08 EST 2023
STATUS

editing

approved

Discussion
Mon Nov 27
22:47
OEIS Server: Installed first b-file as b367625.txt.
#4 by N. J. A. Sloane at Mon Nov 27 22:47:03 EST 2023
LINKS

N. J. A. Sloane, <a href="/A367625/b367625_1.txt">Table of n, a(n) for n = 2..13496</a>

STATUS

approved

editing

#3 by N. J. A. Sloane at Mon Nov 27 22:10:46 EST 2023
STATUS

editing

approved

#2 by N. J. A. Sloane at Mon Nov 27 22:10:43 EST 2023
NAME

allocated for N. J. A. Sloane

(A036991(n)-1)/2.

DATA

0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 19, 21, 22, 23, 25, 26, 27, 29, 30, 31, 35, 37, 38, 39, 41, 42, 43, 45, 46, 47, 51, 53, 54, 55, 57, 58, 59, 61, 62, 63, 71, 75, 77, 78, 79, 83, 85, 86, 87, 89, 90, 91, 93, 94, 95, 99, 101, 102, 103, 105, 106, 107, 109, 110, 111, 115, 117, 118, 119, 121, 122, 123, 125, 126, 127

OFFSET

2,3

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

N. J. A. Sloane, Nov 27 2023

STATUS

approved

editing