Jump to content

Binomial transform: Difference between revisions

m
→‎{{header|Raku}}: Slightly more accurate comment
m (add some related links)
m (→‎{{header|Raku}}: Slightly more accurate comment)
Line 83:
Inverse binomial transform:
{inverse-binomial-transform(@seq)[^$upto]}
Re-invertedRound trip:
{inverse-binomial-transform(binomial-transform(@seq))[^$upto]}
BIN
Line 94:
Inverse binomial transform:
1 0 1 1 3 6 15 36 91 232 603 1585 4213 11298 30537 83097 227475 625992 1730787 4805595
Round trip:
Re-inverted:
1 1 2 5 14 42 132 429 1430 4862 16796 58786 208012 742900 2674440 9694845 35357670 129644790 477638700 1767263190
 
Line 103:
Inverse binomial transform:
0 1 -1 0 3 -10 25 -56 118 -237 456 -847 1540 -2795 5173 -9918 19761 -40528 84235 -174914
Round trip:
Re-inverted:
0 1 1 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 0
 
Line 112:
Inverse binomial transform:
0 1 -1 2 -3 5 -8 13 -21 34 -55 89 -144 233 -377 610 -987 1597 -2584 4181
Round trip:
Re-inverted:
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181
 
Line 121:
Inverse binomial transform:
1 -1 1 0 -3 10 -24 49 -89 145 -208 245 -174 -176 1121 -3185 7137 -13920 24301 -37926
Round trip:
Re-inverted:
1 0 0 1 0 1 1 1 2 2 3 4 5 7 9 12 16 21 28 37</pre>
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.