Catalan numbers/Pascal's triangle: Difference between revisions

m
Line 576:
[511,null]</lang>
 
=={{header|Mathematica}} / {{header|Wolfram Language}}==
This builds the entire Pascal triangle that's needed and holds it in memory. Very inefficienct, but seems to be what is asked in the problem.
<lang Mathematica>nextrow[lastrow_] := Module[{output},
Anonymous user