Catalan numbers/Pascal's triangle: Difference between revisions
Content added Content deleted
(Added Lua version) |
m (→{{header|Lua}}: fixed explanation) |
||
Line 719:
=={{header|Lua}}==
For each line of odd-numbered length from Pascal's triangle,
This solution is heavily based on the Lua code to generate Pascal's triangle from the page for that task.
<lang Lua>function nextrow (t)
local ret = {}
|