OFFSET
1,1
MATHEMATICA
c = 3; d = 4; f[n_] := Fibonacci[n];
g[n_] := c*f[n]; h[n_] := d*f[n];
t[i_, j_] := h[i] + g[j];
u = Table[t[i, j], {i, 1, 20}, {j, 1, 20}];
v = Union[Flatten[u ]] (* A191875 *)
t1[i_, j_] := If[g[i] - h[j] > 0, g[i] - h[j], 0]
u1 = Table[t1[i, j], {i, 1, 20}, {j, 1, 20}];
v1 = Union[Flatten[u1 ]] (* A191876: c*f(i)-d*f(j) *)
g1[n_] := d*f[n]; h1[n_] := c*f[n];
t2[i_, j_] := If[g1[i] - h1[j] > 0, g1[i] - h1[j], 0]
u2 = Table[t2[i, j], {i, 1, 20}, {j, 1, 20}];
v2 = Union[Flatten[u2 ]] (* A191877: d*f(i)-c*f(j) *)
v3 = Union[v1, v2] (* A191878*)
Union[3*First[#]+4*Last[#]&/@Tuples[Fibonacci[Range[10]], 2]] (* Harvey P. Dale, Jun 05 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jun 18 2011
STATUS
approved