login
T(n, k) = k^0 if k = 1 else 0^n. Triangle read by rows, T(n, k) for 0 <= k <= n.
0

%I #14 Nov 21 2023 09:14:20

%S 1,0,1,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,

%T 0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,

%U 0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0

%N T(n, k) = k^0 if k = 1 else 0^n. Triangle read by rows, T(n, k) for 0 <= k <= n.

%e [1]

%e [0, 1]

%e [0, 1, 0]

%e [0, 1, 0, 0]

%e [0, 1, 0, 0, 0]

%e [0, 1, 0, 0, 0, 0]

%e [0, 1, 0, 0, 0, 0, 0]

%o (Julia)

%o T(n, k) = k == 1 ? k^0 : 0^n

%o for n in 0:10 println([T(n, k) for k in 0:n]) end

%Y Essentially the same as A073424, A073423 and A010054.

%K nonn,tabl

%O 0

%A _Peter Luschny_, Nov 19 2019