MAXPHI

description: maximum representation of n in base of powers of Phi = (sqrt(5) + 1)/2

initial terms: 1., 1.11, 11.01, 101.01, 101.1111, 111.0111, 1010.1101, 1011.1101, 1101.1101, 1111.0101, 10101.0101, 10101.111111, 10111.011111, 11010.110111, 11011.110111, 11101.110111, 11111.010111, 101010.101101, 101011.101101, 101101.101101, 101110.111101, 101111.111101, 110101.111101, 110111.011101, 111010.110101, 111011.110101, 111101.110101, 111111.010101, 1010101.010101, 1010101.11111111, 1010111.01111111, 1011010.11011111, 1011011.11011111, 1011101.11011111, 1011111.01011111, 1101010.10110111, 1101011.10110111, 1101101.10110111, 1101110.11110111, 1101111.11110111, 1110101.11110111, 1110111.01110111, 1111010.11010111, 1111011.11010111, 1111101.11010111, 1111111.01010111, 10101010.10101101, 10101011.10101101, 10101101.10101101, 10101110.11101101, 10101111.11101101, 10110101.11101101, 10110111.01101101, 10111010.10111101, 10111011.10111101, 10111101.10111101, 10111110.11111101, 10111111.11111101, 11010101.11111101, 11010111.01111101, 11011010.11011101, 11011011.11011101, 11011101.11011101, 11011111.01011101, 11101010.10110101, 11101011.10110101, 11101101.10110101, 11101110.11110101, 11101111.11110101, 11110101.11110101, 11110111.01110101, 11111010.11010101, 11111011.11010101, 11111101.11010101, 11111111.01010101, 101010101.01010101, 101010101.1111111111, 101010111.0111111111, 101011010.1101111111, 101011011.1101111111, 101011101.1101111111, 101011111.0101111111, 101101010.1011011111, 101101011.1011011111, 101101101.1011011111, 101101110.1111011111, 101101111.1111011111, 101110101.1111011111, 101110111.0111011111, 101111010.1101011111, 101111011.1101011111, 101111101.1101011111, 101111111.0101011111, 110101010.1010110111, 110101011.1010110111, 110101101.1010110111, 110101110.1110110111, 110101111.1110110111, 110110101.1110110111, 110110111.0110110111

offset: 1

link: Ron Knott, Using Powers of Phi to Represent Integers (Base Phi).