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.

A084484 a(n) = A007088(A084483(n)).

Original entry on oeis.org

1, 100, 11, 10, 1001, 1100, 111, 10000, 101, 10100, 10011, 110, 11001, 11100, 1111, 1000, 100001, 100100, 1011, 1010, 101001, 101100, 100111, 110000, 1101, 110100, 110011, 1110, 111001, 111100, 11111, 1000000, 10001, 1000100, 1000011, 10010, 1001001, 1001100
Offset: 1

Views

Author

Reinhard Zumkeller, May 27 2003

Keywords

Crossrefs

Programs

  • Mathematica
    s[n_] := s[n] = If[OddQ[n], 2*s[(n - 1)/2] + 1, If[EvenQ[IntegerExponent[n, 2]], n/2, 2*n]]; FromDigits[IntegerDigits[#, 2]]& /@ Array[s, 50] (* Amiram Eldar, Jul 22 2023 *)

Formula

a(n) = A007088(n) iff A000120(n) = A070939(n).