cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A347269 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 4.

This page as a plain text file.
%I A347269 #39 Sep 07 2021 04:11:23
%S A347269 4,5,6,11,14,15,18,19,25,32,33,40,42,43,47,48,52,53,57,59,62,63,68,69,
%T A347269 70,75,78,79,82,83,88,90,91,92,93,105,108,109,110,112,116,117,120,121,
%U A347269 122,135,139,144,145,146,147,148,149,152,154,161,162,163,175,185,187,191,193
%N A347269 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 4.
%C A347269 a(n) is the first term of the row a(n) of the square array A347270.
%C A347269 Integers m such that A008908(m) == 0 (mod 3). - _Michel Marcus_, Aug 31 2021
%H A347269 <a href="/index/3#3x1">Index entries for sequences related to 3x+1 (or Collatz) problem</a>
%e A347269 From _Michel Marcus_ and _Omar E. Pol_, Aug 31 2021: (Start)
%e A347269 Excerpt from A347270 array showing that the 3x+1 sequences that start at 4, 5, 6, 11 and 14 share infinitely many 1's.
%e A347269    4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, ...
%e A347269    5,16, 8, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, ...
%e A347269    6, 3,10, 5,16, 8, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, ...
%e A347269   11,34,17,52,26,13,40,20,10, 5,16, 8, 4, 2, 1, 4, 2, 1, 4, 2, 1, ...
%e A347269   14, 7,22,11,34,17,52,26,13,40,20,10, 5,16, 8, 4, 2, 1, 4, 2, 1, ... (End)
%o A347269 (PARI) f(n) = if (n%2, 3*n+1, n/2); \\ A006370
%o A347269 nb(n) = my(k=1, m=n); while (m!=1, k++; m=f(m)); k; \\ A008908
%o A347269 isok(m) = (nb(m) % 3) == 0; \\ _Michel Marcus_, Aug 31 2021
%Y A347269 Companion of A347267 and A347268.
%Y A347269 Cf. A006370, A033478, A033479, A075884, A076536, A153727, A347270.
%K A347269 nonn
%O A347269 1,1
%A A347269 _Omar E. Pol_, Aug 25 2021
%E A347269 More terms from _Michel Marcus_, Aug 31 2021