OFFSET
1,1
COMMENTS
Conjecture: the difference sequence, (5, 8, 5, 3, 5, 8, 5, 3, 5, 5, 3, 5, 8, 5, 3, 5, 8, 5, 8, ... ) has exactly 3 distinct terms.
These are the numbers k such that the k-th Wythoff pair does not occur as a pair of consecutive numbers in a row of the Stolarksy array; e.g., a(1) = 3 because the 3rd Wythoff pair, (4,7) is the least Wythoff pair not in a row of the Stolarsky array. - Clark Kimberling, Oct 21 2025
Numbers k such that floor(k*phi^2 - phi/2) = floor(k*phi^2). - Clark Kimberling, Jul 13 2026
MATHEMATICA
z = 300;
A[n_, k_] := Module[{t, a, b}, t = (1 + Sqrt[5])/2;
a = Floor[n*(t + 1) + 1 + t/2]; b = Round[a*t]; ({b, a} . MatrixPower[{{1, 1}, {1, 0}}, k])[[2]]];
ts = Table[A[n, k], {n, 0, z - 1}, {k, 0, z - 1}]; (* A035506, Stolarsky array *)
W[n_, k_] := Fibonacci[k + 1] Floor[n*GoldenRatio] + (n - 1) Fibonacci[k];
tw = Table[W[n, k], {n, 1, z}, {k, 1, z}]; (* A035513, Wythoff array *)
diff = tw - ts;
u = Table[diff[[n]][[2]], {n, 1, z}]
Flatten[Position[u, 0]] (* A387349 *)
Flatten[Position[u, 1]] (* A387350 *)
Flatten[Position[u, -1]] (* A387351 *)
(* Alternative: *)
r = GoldenRatio; Select[Range[1000], Floor[#*r^2] != Floor[Floor[#*r]*r + 1/2] &]
(* Clark Kimberling, Oct 21 2025 *)
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Clark Kimberling, Aug 27 2025
STATUS
approved
