Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
R+\ċ - Main link: n
R - range(n) -> [1,2,3,...,N]
\ - cumulative reduce by:
+ - addition -> [1,3,6,...,T(N)]
ċ - count occurrences of right (n) in left -> 1 if triangular, 0 otherwise
R+\ċ - Main link: n
R - range(n) -> [1,2,3,...,N]
\ - cumulative reduce by:
+ - addition -> [1,3,6,...,T(N)]
ċ - count occurrences of right (n) in left -> 1 if triangular, 0 otherwise