Comment detail

自然数の分割 (Nested Flatten)
   5 f 3
5 0 0
4 1 0
4 0 1
 ...
0 2 3
0 1 4
0 0 5
   12 f 3
12  0  0
11  1  0
11  0  1
 ...
 0  2 10
 0  1 11
 0  0 12
1
f=:4 :'|.a#~x=+/"1 a=.(y#>:x)#:i.(>:x)^y'

Index

Feed

Other

Link

Pathtraq

loading...