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.

A020915 Number of digits in base-3 representation of 2^n.

Original entry on oeis.org

1, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9, 10, 11, 11, 12, 12, 13, 14, 14, 15, 16, 16, 17, 18, 18, 19, 19, 20, 21, 21, 22, 23, 23, 24, 24, 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 36, 37, 38, 38, 39, 40, 40, 41, 42, 42, 43, 43, 44, 45, 45, 46, 47
Offset: 0

Views

Author

Keywords

Comments

For n > 0, first differences of A022331. - Michel Marcus, Oct 03 2013

Crossrefs

Cf. A022924 (first differences).

Programs

Formula

a(n) = 1 + floor(n*log_3(2)) = 1 + floor(n*A102525) = 1 + A136409(n). - R. J. Mathar, May 23 2009
a(n) = A081604(A000079(n)). - Reinhard Zumkeller, Jul 12 2011
a(A020914(n)) = n + 1. - Reinhard Zumkeller, Mar 28 2015

Extensions

More terms from James Sellers