https://www.reddit.com/r/dailyprogrammer/comments/8xbxi9/20180709_challenge_365_easy_uparrow_notation/e22dqfi/




________________________________
From: Skip Cave <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Tuesday, September 18, 2018 2:40 AM
Subject: [Jprogramming] Knuth's Up-Arrow Notation



How would a J programmer build a verb that would emulate Knuth's up-arrow

notation <https://goo.gl/7pCZKW>? (https://goo.gl/7pCZKW). Tacit & explicit

versions would be nice.


Examples - assuming the verb 'u' is the up-arrow:


2 u 4  = 16

2 u u 4  = 65536

2 u u u 3 = 65536

3 u u 2 = 27

3 u u 3 = 7,625,597,484,987


Skip


Skip Cave

Cave Consulting LLC

----------------------------------------------------------------------

For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to