OFFSET
2,1
COMMENTS
Also known as pandigital numbers, especially in base 10.
LINKS
Alois P. Heinz, Rows n = 2..8, flattened
EXAMPLE
Base 3 values are 102_3 = 11, 120_3 = 15, 201_3 = 19, 210_3 = 21.
Triangle begins:
2;
11, 15, 19, 21;
75, 78, 99, 108, 114, 120, 135, 141, 147, 156, 177, 180, 198, 201, ...
694, 698, 714, 722, 738, 742, 894, 898, 954, 970, 978, 990, 1014, 1022, ...
...
MATHEMATICA
dtn[ L_, base_ ] := Fold[ base*#1+#2&, 0, L ] f[ n_ ] := Map[ dtn[ #, n ]&, Select[ Permutations[ Range[ 0, n-1 ] ], First[ # ]>0& ] ] Flatten[ Join[ Table[ f[ i ], {i, 2, 5} ] ] ]
CROSSREFS
KEYWORD
base,easy,nice,nonn,tabf
AUTHOR
Erich Friedman, Jun 23 2001
STATUS
approved