Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: compute paths in Pascal's triangle (aka Tartaglia's one) (2 updates)

by LanX (Saint)
on Mar 22, 2018 at 12:23 UTC ( [id://1211514]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                   0-0
                1-0   0-1
    ...
          3-0  *2-1   1-2   0-3
       4-0   3-1   2-2   1-3   0-4
    5-0   4-1   3-2   2-3   1-4   0-5
    
  2. or download this
    0-0   0-1   0-2   0-3   0-4   0-5
    1-0   1-1   1-2   1-3   1-4
    ...
    3-0   3-1   3-2
    4-0   4-1
    5-0
    
  3. or download this
    use strict;
    use warnings;
    ...
        # right
        pathfinder( [$l+1,$r+1,"right"], @_ ) if $r < $gr;
    }
    
  4. or download this
    C:/Perl_64/bin\perl.exe  d:/tmp/pascale_path.pl 
    [
    ...
    ]
    
    Compilation finished at Thu Mar 22 12:41:53
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found