Anonymous user
Catalan numbers/Pascal's triangle: Difference between revisions
m
added whitespace before the TOC (table of contents), added a ;Task: and ;See: (bold) headers.
m (→{{header|FreeBASIC}}: removed redundant code) |
m (added whitespace before the TOC (table of contents), added a ;Task: and ;See: (bold) headers.) |
||
Line 1:
{{task}}
The task is to print out the first 15 Catalan numbers by extracting them from Pascal's triangle, see [http://milan.milanovic.org/math/english/fibo/fibo4.html Catalan Numbers and the Pascal Triangle]. This enables calculation of Catalan Numbers using only addition and subtraction. See [http://mathworld.wolfram.com/CatalansTriangle.html Catalan's Triangle] for a Number Triangle that generates Catalan Numbers using only addition.▼
;Task:
Related Tasks:▼
Print out the first '''15''' Catalan numbers by extracting them from Pascal's triangle.
;See:
▲
;See also:
* [http://mathworld.wolfram.com/CatalansTriangle.html Catalan's Triangle] for a Number Triangle that generates Catalan Numbers using only addition.
▲;Related Tasks:
[[Pascal's triangle]]
<br><br>
=={{header|360 Assembly}}==
|