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.

A183171 Second of two trees generated by the Beatty sequence of sqrt(2).

Original entry on oeis.org

2, 6, 8, 20, 11, 27, 28, 68, 15, 37, 38, 92, 39, 95, 96, 232, 21, 51, 52, 126, 53, 129, 130, 314, 55, 133, 134, 324, 135, 327, 328, 792, 29, 71, 72, 174, 73, 177, 178, 430, 74, 180, 182, 440, 183, 443, 444, 1072, 77, 187, 188
Offset: 1

Views

Author

Clark Kimberling, Dec 28 2010

Keywords

Comments

This tree grows from (L(2),U(2))=(2,6). The other tree grows from (L(1),U(1))=(1,3). Here, L and U are Beatty sequences. See the comments at A183170 and A183173.

Examples

			First levels of the tree:
.......................2
.......................6
...............8.................20
..........11.......27........28.......68
........15..37...38..92....39..95...96..232
		

Crossrefs

Programs

  • Mathematica
    a = {2, 6}; row = {a[[-1]]}; r = Sqrt[2]; s = r/(r - 1); Do[a = Join[a, row = Flatten[{Floor[#*{r, s}]} & /@ row]], {n, 5}]; a (* Ivan Neretin, May 25 2015 *)

Formula

(See A183170.)