HP Forums
(15C) Row of Pascal’s Triangle - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (15C) Row of Pascal’s Triangle (/thread-5499.html)



(15C) Row of Pascal’s Triangle - Eddie W. Shore - 01-10-2016 10:16 PM

HP 15C: Row of Pascal’s Triangle

Link: http://edspi31415.blogspot.com/2016/01/hp-15c-row-of-pascals-triangle.html

Input: The row n.

Registers Used:

R0 = counter
R1 = n

Program:

Code:
LBL A
STO 1
3
10^X
÷
STO 0
LBL 1
RCL 1
RCL 0
INT
Cy,x (COMB)
R/S
ISG 0
GTO 1
RTN