OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..10000
EXAMPLE
Triangle begins:
0;
2,1;
32,31,21;
432,431,421,321;
5432,5431,5421,5321,4321;
65432,65431,...
MAPLE
conca := proc(S) local resul, d, i ; resul := 0 ; for i from 1 to nops(S) do d := ilog10(op(i, S))+1 ; resul := resul*10^d+op(i, S) ; od ; resul ; end: A081541 := proc(row) local a, p, i; if row =1 then RETURN([0]) ; fi ; a := [] ; p := [seq(row+1-i, i=1..row)] ; for i from 1 to row do a := [op(a), conca(subsop(i=NULL, p))] ; od: sort(a, `>`)[1..row] ; end: seq(op(A081541(n)), n=1..10) ; # R. J. Mathar, Jul 15 2007
MATHEMATICA
Table[Reverse[FromDigits/@Table[Drop[Range[k, 1, -1], {n}], {n, 1, k}]], {k, 8}]//Flatten (* Harvey P. Dale, Aug 27 2016 *)
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Mar 29 2003
EXTENSIONS
More terms from R. J. Mathar, Jul 15 2007
STATUS
approved