(49g 50g) Fast Pascal's triangle and its relatives
08-12-2018, 12:41 AM (This post was last modified: 08-12-2018 12:47 AM by Joe Horn.)
Post: #2
 Joe Horn Senior Member Posts: 1,902 Joined: Dec 2013
RE: (49g 50g) Fast Pascal's triangle and its relatives
It's probably not very fast, but here's a very short RPL program (48G/GX or later) that returns the Nth row of Pascal's triangle:

Code:
<< IDN ->DIAG NEG PCOEF >>
BYTES: 26.0 #2587h

EDIT: Here's an even smaller one that's a tad faster:
Code:
<< 1. ->LIST -1. CON PCOEF >>
BYTES: 25.5 #E698h

<0|ɸ|0>
-Joe-
 « Next Oldest | Next Newest »

 Messages In This Thread (49g 50g) Fast Pascal's triangle and its relatives - John Keith - 08-11-2018, 04:58 PM RE: (49g 50g) Fast Pascal's triangle and its relatives - Joe Horn - 08-12-2018 12:41 AM RE: (49g 50g) Fast Pascal's triangle and its relatives - John Keith - 08-12-2018, 02:12 PM RE: (49g 50g) Fast Pascal's triangle and its relatives - John Keith - 08-19-2018, 02:14 PM RE: (49g 50g) Fast Pascal's triangle and its relatives - Joe Horn - 08-20-2018, 12:43 AM RE: (49g 50g) Fast Pascal's triangle and its relatives - John Keith - 08-20-2018, 12:15 PM RE: (49g 50g) Fast Pascal's triangle and its relatives - Thomas Klemm - 03-02-2019, 07:12 PM RE: (49g 50g) Fast Pascal's triangle and its relatives - John Keith - 01-28-2020, 06:12 PM RE: (49g 50g) Fast Pascal's triangle and its relatives - John Keith - 12-15-2021, 07:31 PM

User(s) browsing this thread: 1 Guest(s)