OFFSET
1,3
MATHEMATICA
a = Union[Flatten[Table[{(n + 1)^2 - 1, (2*n + 1)*(2*n + 1 - 1)/2, (2*n)^2, (2*n)*(2*n - 1)/2}, {n, 0, 15}]]];
b = Flatten[Table[{If[n < 3, 1, n!/3], If[n < 2, 1, n!/2], n!}, {n, 1, Length[a]}]];
aout = Union[Table[Abs[b[[n]] - a[[n]]], {n, 1, Length[a]}]]
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Roger L. Bagula, Jun 23 2007
STATUS
approved