Challenge:
Given inputs \$i\$ and \$n\$, calculate \$R_i(n)\$ where:
$$R_0(n)=n \\ R_i(n)=\sum_{j=0}^nR_{i-1}(j)$$
Note that \$R_1\$ is triangular function, and \$R_2\$ is tetrahedral function.
This is code golf, shortest answer in bytes wins.
Test cases:
[0,0] => 0
[0,1] => 1
[0,999] => 999
[1,0] => 0
[1,1] => 1
[1,2] => 3
[1,3] => 6
[1,4] => 10
[1,10] => 55
[1,30] => 465
[1,99] => 4950
[2,0] => 0
[2,1] => 1
[2,2] => 4
[2,3] => 10
[2,10] => 220
[3,10] => 715
[4,10] => 2002
[4,11] => 3003
[9,10] => 92378
[32,6] => 501942
