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.

A022838 Beatty sequence for sqrt(3); complement of A054406.

Original entry on oeis.org

1, 3, 5, 6, 8, 10, 12, 13, 15, 17, 19, 20, 22, 24, 25, 27, 29, 31, 32, 34, 36, 38, 39, 41, 43, 45, 46, 48, 50, 51, 53, 55, 57, 58, 60, 62, 64, 65, 67, 69, 71, 72, 74, 76, 77, 79, 81, 83, 84, 86, 88, 90, 91, 93, 95, 96, 98, 100, 102, 103, 105, 107, 109, 110, 112
Offset: 1

Views

Author

Keywords

Comments

0 <= A144077(n) - a(n) <= 1. - Reinhard Zumkeller, Sep 09 2008
From Reinhard Zumkeller, Jan 20 2010: (Start)
A080757(n) = a(n+1) - a(n).
A171970(n) = floor(a(n)/2).
A171972(n) = a(A000290(n)). (End)
Numbers k>0 such that A194979(k+1) = A194979(k) + 1. - Clark Kimberling, Dec 02 2014
Powers of 2 (i.e, 1, 8, 32, 64, 128, 256, 512, 4096, 8192,...) appear at n=1, 5, 19, 37, 74, 148, 296, 2365, 4730, 18919, 75675, 151349, 302698, 605396, ... related to A293328. - R. J. Mathar, Jan 17 2025

Crossrefs

Cf. A080757 (first differences), A194106 (partial sums), A194028 (even bisection), A184796 (prime terms).
Cf. A026255, A054406 (complement).

Programs

Formula

a(n) = floor(n*sqrt(3)). - Reinhard Zumkeller, Jan 20 2010
a(n) = 2 * floor(n * (sqrt(3) - 1)) + floor(n * (2 - sqrt(3))) + 1. - Miko Labalan, Dec 03 2016