[go: up one dir, main page]

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

Showing entries 1-10 | older changes
a(1) = 1; for n > 1, a(n) is the smallest positive number that has not yet appeared that is coprime to a(n-1), does not equal a(n-1)+1, and whose binary expansion has no 1-bit in common with the binary expansion of a(n-1).
(history; published version)
#14 by Joerg Arndt at Tue May 24 09:12:45 EDT 2022
STATUS

reviewed

approved

#13 by Michel Marcus at Tue May 24 09:06:32 EDT 2022
STATUS

proposed

reviewed

#12 by Chai Wah Wu at Tue May 24 08:59:25 EDT 2022
STATUS

editing

proposed

#11 by Chai Wah Wu at Tue May 24 08:59:11 EDT 2022
PROG

(Python)

from math import gcd

from itertools import count, islice

def A353990_gen(): # generator of terms

yield 1

a, s, b = 1, 2, set()

while True:

for i in count(s):

if not (i == a+1 or i & a or gcd(i, a) > 1 or i in b):

yield i

a = i

b.add(i)

while s in b:

s += 1

break

A353990_list = list(islice(A353990_gen(), 30)) # Chai Wah Wu, May 24 2022

STATUS

approved

editing

#10 by Michael De Vlieger at Tue May 24 08:12:54 EDT 2022
STATUS

proposed

approved

#9 by Scott R. Shannon at Tue May 24 06:45:11 EDT 2022
STATUS

editing

proposed

#8 by Scott R. Shannon at Tue May 24 06:43:22 EDT 2022
DATA

1, 4, 3, 8, 5, 2, 9, 16, 7, 24, 35, 12, 17, 6, 25, 32, 11, 20, 33, 10, 21, 34, 13, 18, 37, 26, 69, 40, 19, 36, 65, 14, 81, 38, 73, 22, 41, 64, 15, 112, 129, 28, 67, 44, 83, 128, 23, 72, 49, 66, 29, 96, 31, 160, 27, 68, 43, 80, 39, 88, 131, 48, 71, 56, 135, 104, 133, 50, 77, 130, 53, 74, 145, 42

#7 by Scott R. Shannon at Tue May 24 06:42:26 EDT 2022
LINKS

Scott R. Shannon, <a href="/A353990/a353990.png">Image of the first 100000 terms</a>. The green line is y = n.

#6 by Scott R. Shannon at Tue May 24 06:41:17 EDT 2022
EXAMPLE

a(4) = 8 as a(3) = 3, and 8 has not yet appeared, is coprime to 3, is not 1 more than 3, while 8 = 100_1000_2 and 3 = 11_2 which have no 1-bits in common.

#5 by Scott R. Shannon at Tue May 24 06:40:14 EDT 2022
COMMENTS

This sequence is similar to A093714 with the additional restriction that no term can have a 1-bit in common with the previous term in their binary expansions. This leads to the terms showing similar behavior to A109812. See the linked image.

In the first 100000 terms the fixed points are 1, 3, 5, 12, 21, 26, 44, 49, 227, 3488, 5890, 9067, 9310, 37625, 74702, although it is likely more exist. In the same range the lowest unseen number is 30686; the sequence is conjectured to be a permutation of the positive integers.

EXAMPLE

a(4) = 8 as a(3) = 3, and 8 has not yet appeared, is coprime to 3, is not 1 more than 3, while 8 = 100_2 and 3 = 11_2 which have no 1-bits in common.