OFFSET
1,1
MATHEMATICA
k = {}; a = {}; b = {}; Do[AppendTo[b, n]; w = Permutations[b]; Do[j = FromDigits[1 + w[[m]], n + 1]; AppendTo[a, j], {m, 1, Length[w]}], {n, 0, 6}]; Do[AppendTo[k, a[[n + 1]] - a[[n]]], {n, 1, Length[a] - 1}]; k
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Nov 10 2007
STATUS
approved