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.

A220071 Difference between number of halving steps and number of tripling steps needed to reach 1 in '3x+1' problem.

Original entry on oeis.org

0, 1, 3, 2, 3, 4, 6, 3, 7, 4, 6, 5, 5, 7, 7, 4, 6, 8, 8, 5, 5, 7, 7, 6, 9, 6, 29, 8, 8, 8, 28, 5, 10, 7, 7, 9, 9, 9, 12, 6, 29, 6, 11, 8, 8, 8, 28, 7, 10, 10, 10, 7, 7, 30, 30, 9, 12, 9, 12, 9, 9, 29, 29, 6, 11, 11, 11, 8, 8, 8, 28, 10, 31, 10, 8, 10, 10, 13
Offset: 1

Views

Author

Jayanta Basu, Feb 19 2013

Keywords

Comments

This sequence can also be defined as: a(1) = 0; thereafter a(2*k) = a(k) + 1, a(2*k+1) = a(6*k+4) - 1. - Gionata Neri, Jul 17 2016

Crossrefs

Programs

Formula

a(n) = A006666(n) - A006667(n).
a(n) = a(A085062(n)) + 1 for n >= 2. - Alan Michael Gómez Calderón, Jan 26 2025

Extensions

More terms from Alois P. Heinz, Feb 19 2013