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.

A228871 Odd numbers producing 3 out-of-order odd numbers in the Collatz (3x+1) iteration.

Original entry on oeis.org

3, 227, 14563, 932067, 59652323, 3817748707, 244335917283, 15637498706147, 1000799917193443, 64051194700380387, 4099276460824344803, 262353693492758067427, 16790636383536516315363, 1074600728546337044183267, 68774446626965570827729123
Offset: 1

Views

Author

T. D. Noe, Sep 12 2013

Keywords

Comments

Sequence A198584 gives the first term of the Collatz sequence having exactly 3 odd numbers. This sequence is the subset of A198584 for which the second odd number is larger than the first. The second odd number is (2^(6*n - 2) - 1)/3, which always occurs as the third term of the sequence.
{a(n) mod 6} = {repeat(3, 5, 1)}, and a(n) mod 8 = 3 for all n. Proof from the formula of a(n) in terms of A198586 given below, using the modulo 72 congruence of the odd indexed part of A198586 given there. - Wolfdieter Lang, Jan 14 2022

Examples

			The number 3 has the Collatz iteration {3, 10, 5, 16, 8, 4, 2, 1}, which has three out-of-order odd numbers {3, 5, 1}.
		

Crossrefs

Cf. A198584 (Collatz iterations having 3 odd numbers).
Cf. A228872 (Collatz iterations producing 3 in-order odd numbers).
Cf. A198586.

Programs

  • Mathematica
    Table[(2*(2^(6*n - 2) - 1)/3 - 1)/3, {n, 15}]
  • PARI
    a(n)=4^(3*n-1)\3*2\3 \\ Charles R Greathouse IV, Mar 11 2017

Formula

a(n) = (64^n/2 - 5)/9. - Alois P. Heinz, Dec 08 2021
From Wolfdieter Lang, Jan 12 2022: (Start)
a(n) = (2*A198586(2*n-1) - 1)/3. See the Mathematica program.
G.f.: x*(3 + 32*x)/((1 - x)*(1 - 64*x)). (End)