Stirling numbers of the second kind: Difference between revisions
Stirling numbers of the second kind (view source)
Revision as of 09:58, 24 March 2024
, 2 months ago→{{header|ALGOL W}}: Reduce output width to avoid line-wrap
(Added Lua) |
m (→{{header|ALGOL W}}: Reduce output width to avoid line-wrap) |
||
Line 195:
write( "Stirling numbers of the second kind:" );
write( " k" );
for k := 0 until MAX_STIRLING do writeon( i_w :=
write( " n" );
for n := 0 until MAX_STIRLING do begin
write( i_w := 2, s_w := 0, n );
for k := 0 until n do writeon( i_w :=
end for_n
end
end.
{{out}}
<pre>
Stirling numbers of the second kind:
k
n
0
1
2
3
4
5
6
7
8
9
10
11
12
</pre>
|