bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation of the BOXING values.


From: Peter Teeson
Subject: Re: Documentation of the BOXING values.
Date: Fri, 8 Jan 2021 19:28:07 -0500

Hi Jürgen:

On Jan 8, 2021, at 4:18 PM, Dr. Jürgen Sauermann <mail@xn--jrgen-sauermann-zvb.de> wrote:

I'm a retired programmer and I still like to program as a hobby. 

Ditto and Amen. This ]BOXING thing came up because I asked my colleagues if there was a more 
elegant APL way.

"Trying to get the neurons firing when walking,  the "12 Days of Christmas”  carol came to mind.
If we count up all the things "My True Love Gave To Me" over those 12 days, how many would there be?"

FWIW one of them mentioned it is the 12th Tetrahedral Number
T(n)=1/6*n(n+1)(n+2)    T(12)=1/6*12*13*14=364

But that takes 1 more keystroke than the above:

 and the other offered this which is one more than the previous

Too much spare time on my hands I guess…..

respect

Peter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]