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.

A225843 Integral parts of sums of the reciprocals of the Collatz (3x+1) sequence starting with n.

Original entry on oeis.org

1, 1, 2, 1, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 1, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3
Offset: 1

Views

Author

Reinhard Zumkeller, May 16 2013

Keywords

Comments

a(n) = floor(sum(1/A070165(n,k): k = 1..A006577(n)));
conjecture: a(n) <= 3;
a(n) = 1 iff n = 2^k: a(A000079(n)) = 1, a(A057716(n)) > 1.

Programs

  • Haskell
    a225843 = floor . sum . map (recip . fromIntegral) . a070165_row

Formula

a(n) = floor(A225761(n)/A225784(n)).