login
A347268
a(n) is the first term of the n-th 3x+1 sequence that shares infinitely many 1's with the 3x+1 sequence that starts at 2.
3
2, 3, 7, 9, 16, 20, 21, 24, 26, 31, 34, 35, 39, 41, 44, 45, 46, 54, 55, 56, 58, 60, 61, 72, 73, 74, 76, 77, 81, 97, 98, 99, 100, 101, 102, 107, 123, 127, 128, 129, 130, 131, 132, 133, 134, 142, 143, 155, 160, 167, 168, 169, 170, 171, 172, 173, 174, 177, 178, 179, 188, 189
OFFSET
1,1
COMMENTS
a(n) is the first term of the row a(n) of the square array A347270.
Integers m such that A008908(m) == 2 (mod 3). - Michel Marcus, Aug 31 2021
EXAMPLE
From Michel Marcus and Omar E. Pol, Aug 31 2021: (Start)
Excerpt from A347270 array showing that the 3x+1 sequences that start at 2, 3, 7, 9 and 16 share infinitely many 1's.
2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, ...
3,10, 5,16, 8, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, ...
7,22,11,34,17,52,26,13,40,20,10, 5,16, 8, 4, 2, 1, 4, 2, 1, ...
9,28,14, 7,22,11,34,17,52,26,13,40,20,10, 5,16, 8, 4, 2, 1, ...
16, 8, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, ... (End)
PROG
(PARI) f(n) = if (n%2, 3*n+1, n/2); \\ A006370
nb(n) = my(k=1, m=n); while (m!=1, k++; m=f(m)); k; \\ A008908
isok(m) = (nb(m) % 3) == 2; \\ Michel Marcus, Aug 31 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Aug 25 2021
EXTENSIONS
More terms from Michel Marcus, Aug 31 2021
STATUS
approved