OFFSET
1,3
COMMENTS
FORMULA
T(1, 0)=1; T(n, k)=1+2k[n^(n-1)-1]/(n-1) if n>=2 and 0<=k<n.
EXAMPLE
Triangle starts:
1;
1,3;
1,9,17;
1,43,85,127;
MAPLE
T:=proc(n, k) if n=1 and k=0 then 1 elif n>1 and k<n then 1+2*k*(n^(n-1)-1)/(n-1) else 0 fi end: for n from 1 to 9 do seq(T(n, k), k=0..n-1) od; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
STATUS
approved