Post Reply 
(50G) Lah Numbers
09-18-2016, 09:52 AM (This post was last modified: 06-15-2017 01:40 PM by Gene.)
Post: #1
(50G) Lah Numbers
For integer input N, K the programme below returns the corresponding Lah number.

For info on Lah numbers see

https://en.wikipedia.org/wiki/Lah_number

Code:

::
  CK2&Dispatch
  # FFFF
  ::
    2DUP
    Z1_
    FPTR2 ^RSUBext
    SWAP
    Z1_
    FPTR2 ^RSUBext
    SWAP
    PTR 2EF19
    ROT
    PTR 2EF44
    ROT
    PTR 2EF44
    FPTR2 ^ZQUOText
    FPTR2 ^RMULText
  ;
;
Find all posts by this user
Quote this message in a reply
Post Reply 




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