A183171 Second of two trees generated by the Beatty sequence of sqrt(2).
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
Examples
First levels of the tree: .......................2 .......................6 ...............8.................20 ..........11.......27........28.......68 ........15..37...38..92....39..95...96..232
Links
- Ivan Neretin, Table of n, a(n) for n = 1..8192
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.)
Comments