login
Triangle read by rows: T(n,r) = n^r + r^n (1 <= r <= n).
2

%I #18 Aug 15 2017 03:14:42

%S 2,3,8,4,17,54,5,32,145,512,6,57,368,1649,6250,7,100,945,5392,23401,

%T 93312,8,177,2530,18785,94932,397585,1647086,9,320,7073,69632,423393,

%U 1941760,7861953,33554432,10,593,20412,268705,2012174,10609137,45136576

%N Triangle read by rows: T(n,r) = n^r + r^n (1 <= r <= n).

%e 2,

%e 3, 8,

%e 4, 17, 54,

%e 5, 32, 145, 512,

%e 6, 57, 368, 1649, 6250,

%e 7, 100, 945, 5392, 23401, 93312,

%p T:=(n,r)->n^r+r^n: for n from 1 to 10 do seq(T(n,r),r=1..n) od; # yields sequence in triangular form # _Emeric Deutsch_, Feb 04 2006

%t Flatten[Table[n^r+r^n,{n,10},{r,n}]] (* _Harvey P. Dale_, Jun 19 2011 *)

%Y Same information as A055652. - _Franklin T. Adams-Watters_, Oct 26 2009

%K nonn,tabl

%O 1,1

%A _Amarnath Murthy_, Apr 23 2004

%E More terms from _Emeric Deutsch_, Feb 04 2006