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.

A293327 Greatest integer k such that k/2^n < sqrt(1/3).

Original entry on oeis.org

0, 1, 2, 4, 9, 18, 36, 73, 147, 295, 591, 1182, 2364, 4729, 9459, 18918, 37837, 75674, 151348, 302697, 605395, 1210791, 2421582, 4843165, 9686330, 19372660, 38745320, 77490641, 154981282, 309962565, 619925131, 1239850262, 2479700524, 4959401049, 9918802098
Offset: 0

Views

Author

Clark Kimberling, Oct 09 2017

Keywords

Crossrefs

Programs

  • Mathematica
    z = 120; r = Sqrt[1/3];
    Table[Floor[r*2^n], {n, 0, z}];   (* A293327 *)
    Table[Ceiling[r*2^n], {n, 0, z}]; (* A293328 *)
    Table[Round[r*2^n], {n, 0, z}];   (* A293329 *)

Formula

a(n) = floor(r*2^n), where r = sqrt(1/3).
a(n) = A293328(n) - 1.

Extensions

Definition and formula corrected by Clark Kimberling, Dec 26 2022