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.

A335426 a(1) = 0; thereafter a(2^(2^k)) = 0 for k > 0, and for other even numbers n, a(n) = 1+a(n/2), and for odd numbers n, a(n) = 2*a(A064989(n)).

Original entry on oeis.org

0, 1, 2, 0, 4, 3, 8, 1, 0, 5, 16, 4, 32, 9, 6, 0, 64, 1, 128, 6, 10, 17, 256, 5, 0, 33, 2, 10, 512, 7, 1024, 1, 18, 65, 12, 2, 2048, 129, 34, 7, 4096, 11, 8192, 18, 8, 257, 16384, 6, 0, 1, 66, 34, 32768, 3, 20, 11, 130, 513, 65536, 8, 131072, 1025, 12, 2, 36, 19, 262144, 66, 258, 13, 524288, 3, 1048576, 2049, 2, 130, 24, 35, 2097152, 8, 0, 4097
Offset: 1

Views

Author

Antti Karttunen, Jun 15 2020

Keywords

Crossrefs

Cf. A082522 (gives indices of zeros after a(1)=0).

Programs

Formula

a(1) = 0, and then after, a(2^(2^k)) = 0 for k > 0, and for other even numbers n, a(n) = 1+a(n/2), and for odd numbers n, a(n) = 2*a(A064989(n)).
a(n) = A335427(A225546(n)).
a(A003961(n)) = 2 * a(n).