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.

A225668 a(n) = floor(4*log_2(n)).

Original entry on oeis.org

0, 4, 6, 8, 9, 10, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24
Offset: 1

Views

Author

Jonathan Vos Post, May 11 2013

Keywords

Comments

Arises in analysis of "when to clean your room".

Examples

			a(3) = floor(4*log_2(3)) = floor(6.33985000) = 6.
a(8) = floor(4*log_2(8)) = floor(4*3) = 12.
		

Crossrefs

Cf. A000583 (n^4), A000523 (floor log_2), A004257 (round log_2), A029837 (ceiling log_2).
Cf. A329202 (log_2(n^2)), A329193 (log_2(n^3)).

Programs

Formula

a(n) = floor(4*log(n)/log(2)).
a(n) = floor(log_2(n^4)) = A000523(A000583(n)), i.e., this A225668 = A000523 o A000583. - M. F. Hasler, Nov 07 2019

Extensions

Better definition from M. F. Hasler, Nov 07 2019