In mathematics, the Wythoff array is an infinite matrix of integers derived from the Fibonacci sequence and named after Dutch mathematician Willem Abraham Wythoff. It was first defined by Template:Harvtxt using Wythoff pairs, the coordinates of winning positions in Wythoff's game; it can also be defined using Fibonacci numbers and Zeckendorf's theorem, or directly from the golden ratio and the recurrence relation defining the Fibonacci numbers. Every positive integer occurs exactly once in the array, and every integer sequence defined by the Fibonacci recurrence can be derived by shifting a row of the array.
The Wythoff array has the values
Inspired by a similar array previously defined by Template:Harvtxt, Template:Harvtxt defined the Wythoff array as follows. Let denote the golden ratio; then the th winning position in Wythoff's game is given by the pair of positive integers , where the numbers on the left and right sides of the pair define two complementary Beatty sequences that together include each positive integer exactly once. Morrison defines the first two numbers in row of the array to be the Wythoff pair given by the equation , and where the remaining numbers in each row are determined by the Fibonacci recurrence relation. That is, if denotes the entry in row and column of the array, then
The Zeckendorf representation of any positive integer is a representation as a sum of distinct Fibonacci numbers, no two of which are consecutive in the Fibonacci sequence. As Template:Harvtxt describes, the numbers within each row of the array have Zeckendorf representation that differ by a shift operation from each other, and the numbers within each column have Zeckendorf representations that all use the same smallest Fibonacci number. In particular the entry of the array is the th smallest number whose Zeckendorf representation begins with the th Fibonacci number.
Each Wythoff pair occurs exactly once in the Wythoff array, as a consecutive pair of numbers in the same row, with an odd index for the first number and an even index for the second. Because each positive integer occurs in exactly one Wythoff pair, each positive integer occurs exactly once in the array Template:Harv.
Every sequence of positive integers satisfying the Fibonacci recurrence occurs, shifted by at most finitely many positions, in the Wythoff array. In particular, the Fibonacci sequence itself is the first row, and the sequence of Lucas numbers appears in shifted form in the second row Template:Harv.