Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
22
Task/Floyds-triangle/Excel/floyds-triangle.excel
Normal file
22
Task/Floyds-triangle/Excel/floyds-triangle.excel
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
floydTriangle
|
||||
=LAMBDA(n,
|
||||
IF(0 < n,
|
||||
LET(
|
||||
ixs, SEQUENCE(
|
||||
n, n,
|
||||
0, 1
|
||||
),
|
||||
x, MOD(ixs, n),
|
||||
y, QUOTIENT(ixs, n),
|
||||
|
||||
IF(x > y,
|
||||
"",
|
||||
x + 1 + QUOTIENT(
|
||||
y * (1 + y),
|
||||
2
|
||||
)
|
||||
)
|
||||
),
|
||||
""
|
||||
)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue