Bell numbers: Difference between revisions
Content deleted Content added
→{{header|Wren}}: BigInt support added since original solution posted. |
m →{{header|Wren}}: Better alignment. |
||
Line 3,541:
var bt = bellTriangle.call(51)
System.print("First fifteen and fifitieth Bell numbers:")
for (i in 1..15) Fmt.print("$
Fmt.print("$
System.print("\nThe first ten rows of Bell's triangle:")
for (i in 1..10) Fmt.print("$,7i", bt[i])</lang>
Line 3,549:
<pre>
First fifteen and fifitieth Bell numbers:
1: 1
2: 1
3: 2
4: 5
5: 15
6: 52
7: 203
8: 877
9: 4,140
10: 21,147
11: 115,975
|