Pascal's triangle/Puzzle: Difference between revisions
m
→{{header|Phix}}: (now part of distro)
(Add Factor example) |
m (→{{header|Phix}}: (now part of distro)) |
||
Line 1,754:
=={{header|Phix}}==
▲<lang Phix>--This little ditty converts the pyramid to rules quite nicely, however I will concede
▲--that solving those two rules (18=2x+z and 73=5x+6z) and specifically converting them
<lang Phix>-- demo\rosetta\Pascal_triangle_Puzzle.exw
▲--into xrule(35=7x) and zrule(56=7z) is somewhat amateurish - suggestions welcome.
sequence pyramid = {
{151},
|