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.

A076877 a(n) = A020330(n) / n.

Original entry on oeis.org

3, 5, 5, 9, 9, 9, 9, 17, 17, 17, 17, 17, 17, 17, 17, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 129, 129, 129, 129, 129, 129
Offset: 1

Views

Author

Reinhard Zumkeller, Nov 25 2002

Keywords

Examples

			12 -> '1100' -> '1100'1100' = '11001100' -> 204 = A020330(12): a(12) = A020330(12)/12 = 204/12 = 17.
		

Crossrefs

Programs

  • Mathematica
    a[n_] := 1 + 2^Floor[Log2[n] + 1]; Array[a, 50] (* Amiram Eldar, Apr 07 2021 *)

Formula

a(n) = 1 + 2^(1 + Log2(n)), with Log2 = A000523.
a(n) = 1 + 2*A053644(n).
a(n) = 1 + A062383(n).