OFFSET
1,1
MATHEMATICA
c = 3; d = 4; f[n_] := LucasL[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]] (* A191976 *)
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]] (*A 191977: 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]] (* A191978: d*f(i)-c*f(j) *)
v3 = Union[v1, v2] (* A191979 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jun 20 2011
STATUS
approved