Notation as a Tool for Thought, the 1979 ACM Turing Award Lecture by Ken Iverson who developed APL, is insightful in understanding some of the thinking behind it.
The APL Source Code (2012) - https://news.ycombinator.com/item?id=34064480 - Dec 2022 (58 comments)
RNUMBER DC F'16807' RANDOM NUMBER.
Surely we wouldn't have DailyWTF quality code here. Looking for how it's referenced we find the RANDOM function itself: * RANDOM NUMBER GENERATOR.
* LEHMER'S METHOD, CACM JUNE '66, P 432.
* N(I+1) = P RES Q X N(I)
* P = (2**31)-1
* Q = 7**5
Following that lead to the original ACM article referenced:https://dl.acm.org/doi/epdf/10.1145/365696.365712
Which further lead to this rather interesting article on the history of the ROLL function which relies on this random number generator:
https://www.jsoftware.com/papers/roll.htm
Neat!