OFFSET
1,6
COMMENTS
Three conjectures. The numbers that are not a sum u(h) + v(k) are (1,2,4,7,12, ...) = A000071 = -1 + Fibonacci numbers. The numbers that have exactly one such representation are (3, 5, 9, 15, 25, 41, ...) = A001595. The numbers that have exactly two such representations are (6, 10, 17, 28, 46, ...) = A001610.
FORMULA
G.f.: [Sum_{n>=1} x^floor(n*phi)] * [Sum_{n>=1} x^floor(n*phi^2)], where phi = (1+sqrt(5))/2. - Paul D. Hanna, Dec 02 2017
G.f.: [Sum_{n>=1} x^A000201(n)] * [Sum_{n>=1} x^A001950(n)], where A000201 and A001950 are the lower and upper Wythoff sequences, respectively. - Paul D. Hanna, Dec 02 2017
MATHEMATICA
r = GoldenRatio; z = 500;
u[n_] := u[n] = Floor[n*r]; v[n_] := v[n] = Floor[n*r^2];
s[m_, n_] := s[m, n] = u[m] + v[n]; t = Table[s[m, n], {m, 1, z}, {n, 1, z}];
w = Flatten[Table[Count[Flatten[t], n], {n, 1, z/5}]] (* A259598 *)
PROG
(PARI) {a(n) = my(phi = (1 + sqrt(5))/2, WL=1, WU=1);
WL = sum(m=1, floor(n/phi)+1, x^floor(m*phi) +x*O(x^n));
WU = sum(m=1, floor(n/phi^2)+1, x^floor(m*phi^2) +x*O(x^n));
polcoeff(WL*WU, n)}
for(n=1, 120, print1(a(n), ", ")) \\ Paul D. Hanna, Dec 02 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 22 2015
STATUS
approved