OFFSET
1,2
EXAMPLE
The differences accrue like this:
1-1
3-1
9-4.....9-1
27-16...27-4....27-1
81-64...81-16...81-4...81-1
MATHEMATICA
c = 3; d = 4; t[i_, j_] := c^i - d^j;
u = Table[t[i, j], {i, 0, 40}, {j, 0, i*Log[d, c]}];
v = Union[Flatten[u ]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jun 24 2011
STATUS
approved