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.

A098232 Largest power of 2 <= 3^n.

Original entry on oeis.org

1, 2, 8, 16, 64, 128, 512, 2048, 4096, 16384, 32768, 131072, 524288, 1048576, 4194304, 8388608, 33554432, 67108864, 268435456, 1073741824, 2147483648, 8589934592, 17179869184, 68719476736, 274877906944, 549755813888, 2199023255552, 4398046511104, 17592186044416
Offset: 0

Views

Author

Henry Bottomley, Oct 25 2004

Keywords

Examples

			a(4)=64 since 3^4=81 and 64 <= 81 < 128.
		

Crossrefs

Programs

Formula

a(n) = 2^floor(n*log_2(3)) = A000079(A056576(n)) = A000244(n)-A056577(n).