Catalan numbers: Difference between revisions
Content deleted Content added
→{{header|C#}}: cleaning up code + correcting header |
→{{header|TI-83 BASIC}}: example added |
||
Line 1,806: | Line 1,806: | ||
</pre> |
</pre> |
||
=={{header|TI-83 BASIC}}== |
|||
This problem is perfectly suited for a TI calculator. |
|||
<lang TI-83 BASIC>:For(I,1,15 |
|||
:Disp (2I)!/((I+1)!I! |
|||
:End</lang>Output: |
|||
<pre> 1 |
|||
2 |
|||
4 |
|||
14 |
|||
42 |
|||
132 |
|||
429 |
|||
1430 |
|||
4862 |
|||
16796 |
|||
58786 |
|||
208012 |
|||
742900 |
|||
2674440 |
|||
9694845 |
|||
Done</pre> |
|||
=={{header|Ursala}}== |
=={{header|Ursala}}== |
||