A333028 Array consisting of the primitive rows of the Wythoff array (A035513), read by antidiagonals.
1, 2, 4, 3, 7, 14, 5, 11, 23, 17, 8, 18, 37, 28, 19, 13, 29, 60, 45, 31, 25, 21, 47, 97, 73, 50, 41, 27, 34, 76, 157, 118, 81, 66, 44, 30, 55, 123, 254, 191, 131, 107, 71, 49, 35, 89, 199, 411, 309, 212, 173, 115, 79, 57, 43, 144, 322, 665, 500, 343, 280
Offset: 1
Examples
Northwest corner: 1 2 3 5 8 13 21 34 4 7 11 18 29 47 76 123 14 23 37 60 97 157 254 411 17 28 45 73 118 191 309 500 19 31 50 81 131 212 343 555 25 41 66 107 173 280 453 733 27 44 71 115 186 301 487 788 30 49 79 128 207 335 542 877
Programs
-
Mathematica
W[n_, k_] := Fibonacci[k + 1] Floor[n*GoldenRatio] + (n - 1) Fibonacci[k]; t = Table[GCD[W[n, 1], W[n, 2]], {n, 1, 160}] u = Flatten[Position[t, 1]]; v[n_, k_] := W[u[[n]], k]; TableForm[Table[v[n, k], {n, 1, 30}, {k, 1, 8}]] (* A333028 array *) Table[v[n - k + 1, k], {n, 12}, {k, n, 1, -1}] // Flatten (* A333028 sequence *)
Comments