Cody

# Problem 45394. Count the number of folds needed to pack a large sheet

Solution 2577270

Submitted on 18 Jun 2020 by Hajo Frerichs
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
assert(isequal(number_of_folds(3247,2132),24))

y = 0 X = 1.6235e+03 y = 1 Y = 1066 y = 2 X = 811.7500 y = 3 Y = 533 y = 4 X = 405.8750 y = 5 Y = 266.5000 y = 6 X = 202.9375 y = 7 Y = 133.2500 y = 8 X = 101.4688 y = 9 Y = 66.6250 y = 10 X = 50.7344 y = 11 Y = 33.3125 y = 12 X = 25.3672 y = 13 Y = 16.6562 y = 14 X = 12.6836 y = 15 Y = 8.3281 y = 16 X = 6.3418 y = 17 Y = 4.1641 y = 18 X = 3.1709 y = 19 Y = 2.0820 y = 20 X = 1.5854 y = 21 Y = 1.0410 y = 22 X = 0.7927 y = 23 Y = 0.5205 y = 24

2   Pass
assert(isequal(number_of_folds(1403,3757),23))

y = 0 Y = 1.8785e+03 y = 1 Y = 939.2500 y = 2 X = 701.5000 y = 3 Y = 469.6250 y = 4 X = 350.7500 y = 5 Y = 234.8125 y = 6 X = 175.3750 y = 7 Y = 117.4062 y = 8 X = 87.6875 y = 9 Y = 58.7031 y = 10 X = 43.8438 y = 11 Y = 29.3516 y = 12 X = 21.9219 y = 13 Y = 14.6758 y = 14 X = 10.9609 y = 15 Y = 7.3379 y = 16 X = 5.4805 y = 17 Y = 3.6689 y = 18 X = 2.7402 y = 19 Y = 1.8345 y = 20 X = 1.3701 y = 21 Y = 0.9172 y = 22 X = 0.6851 y = 23

3   Pass
assert(isequal(number_of_folds(3504,2201),24))

y = 0 X = 1752 y = 1 Y = 1.1005e+03 y = 2 X = 876 y = 3 Y = 550.2500 y = 4 X = 438 y = 5 Y = 275.1250 y = 6 X = 219 y = 7 Y = 137.5625 y = 8 X = 109.5000 y = 9 Y = 68.7812 y = 10 X = 54.7500 y = 11 Y = 34.3906 y = 12 X = 27.3750 y = 13 Y = 17.1953 y = 14 X = 13.6875 y = 15 Y = 8.5977 y = 16 X = 6.8438 y = 17 Y = 4.2988 y = 18 X = 3.4219 y = 19 Y = 2.1494 y = 20 X = 1.7109 y = 21 Y = 1.0747 y = 22 X = 0.8555 y = 23 Y = 0.5374 y = 24

4   Pass
assert(isequal(number_of_folds(2490,2349),24))

y = 0 X = 1245 y = 1 Y = 1.1745e+03 y = 2 X = 622.5000 y = 3 Y = 587.2500 y = 4 X = 311.2500 y = 5 Y = 293.6250 y = 6 X = 155.6250 y = 7 Y = 146.8125 y = 8 X = 77.8125 y = 9 Y = 73.4062 y = 10 X = 38.9062 y = 11 Y = 36.7031 y = 12 X = 19.4531 y = 13 Y = 18.3516 y = 14 X = 9.7266 y = 15 Y = 9.1758 y = 16 X = 4.8633 y = 17 Y = 4.5879 y = 18 X = 2.4316 y = 19 Y = 2.2939 y = 20 X = 1.2158 y = 21 Y = 1.1470 y = 22 X = 0.6079 y = 23 Y = 0.5735 y = 24

5   Pass
assert(isequal(number_of_folds(831,1205),21))

y = 0 Y = 602.5000 y = 1 X = 415.5000 y = 2 Y = 301.2500 y = 3 X = 207.7500 y = 4 Y = 150.6250 y = 5 X = 103.8750 y = 6 Y = 75.3125 y = 7 X = 51.9375 y = 8 Y = 37.6562 y = 9 X = 25.9688 y = 10 Y = 18.8281 y = 11 X = 12.9844 y = 12 Y = 9.4141 y = 13 X = 6.4922 y = 14 Y = 4.7070 y = 15 X = 3.2461 y = 16 Y = 2.3535 y = 17 X = 1.6230 y = 18 Y = 1.1768 y = 19 X = 0.8115 y = 20 Y = 0.5884 y = 21

6   Pass
assert(isequal(number_of_folds(1884,922),21))

y = 0 X = 942 y = 1 X = 471 y = 2 Y = 461 y = 3 X = 235.5000 y = 4 Y = 230.5000 y = 5 X = 117.7500 y = 6 Y = 115.2500 y = 7 X = 58.8750 y = 8 Y = 57.6250 y = 9 X = 29.4375 y = 10 Y = 28.8125 y = 11 X = 14.7188 y = 12 Y = 14.4062 y = 13 X = 7.3594 y = 14 Y = 7.2031 y = 15 X = 3.6797 y = 16 Y = 3.6016 y = 17 X = 1.8398 y = 18 Y = 1.8008 y = 19 X = 0.9199 y = 20 Y = 0.9004 y = 21

7   Pass
assert(isequal(number_of_folds(2,4),5))

y = 0 Y = 2 y = 1 X = 1 y = 2 Y = 1 y = 3 X = 0.5000 y = 4 Y = 0.5000 y = 5

8   Pass
assert(isequal(number_of_folds(3378,780),22))

y = 0 X = 1689 y = 1 X = 844.5000 y = 2 X = 422.2500 y = 3 Y = 390 y = 4 X = 211.1250 y = 5 Y = 195 y = 6 X = 105.5625 y = 7 Y = 97.5000 y = 8 X = 52.7812 y = 9 Y = 48.7500 y = 10 X = 26.3906 y = 11 Y = 24.3750 y = 12 X = 13.1953 y = 13 Y = 12.1875 y = 14 X = 6.5977 y = 15 Y = 6.0938 y = 16 X = 3.2988 y = 17 Y = 3.0469 y = 18 X = 1.6494 y = 19 Y = 1.5234 y = 20 X = 0.8247 y = 21 Y = 0.7617 y = 22

9   Pass
assert(isequal(number_of_folds(904,683),20))

y = 0 X = 452 y = 1 Y = 341.5000 y = 2 X = 226 y = 3 Y = 170.7500 y = 4 X = 113 y = 5 Y = 85.3750 y = 6 X = 56.5000 y = 7 Y = 42.6875 y = 8 X = 28.2500 y = 9 Y = 21.3438 y = 10 X = 14.1250 y = 11 Y = 10.6719 y = 12 X = 7.0625 y = 13 Y = 5.3359 y = 14 X = 3.5312 y = 15 Y = 2.6680 y = 16 X = 1.7656 y = 17 Y = 1.3340 y = 18 X = 0.8828 y = 19 Y = 0.6670 y = 20

10   Pass
assert(isequal(number_of_folds(911,1743),21))

y = 0 Y = 871.5000 y = 1 X = 455.5000 y = 2 Y = 435.7500 y = 3 X = 227.7500 y = 4 Y = 217.8750 y = 5 X = 113.8750 y = 6 Y = 108.9375 y = 7 X = 56.9375 y = 8 Y = 54.4688 y = 9 X = 28.4688 y = 10 Y = 27.2344 y = 11 X = 14.2344 y = 12 Y = 13.6172 y = 13 X = 7.1172 y = 14 Y = 6.8086 y = 15 X = 3.5586 y = 16 Y = 3.4043 y = 17 X = 1.7793 y = 18 Y = 1.7021 y = 19 X = 0.8896 y = 20 Y = 0.8511 y = 21

11   Pass
assert(isequal(number_of_folds(1245,3694),23))

y = 0 Y = 1847 y = 1 Y = 923.5000 y = 2 X = 622.5000 y = 3 Y = 461.7500 y = 4 X = 311.2500 y = 5 Y = 230.8750 y = 6 X = 155.6250 y = 7 Y = 115.4375 y = 8 X = 77.8125 y = 9 Y = 57.7188 y = 10 X = 38.9062 y = 11 Y = 28.8594 y = 12 X = 19.4531 y = 13 Y = 14.4297 y = 14 X = 9.7266 y = 15 Y = 7.2148 y = 16 X = 4.8633 y = 17 Y = 3.6074 y = 18 X = 2.4316 y = 19 Y = 1.8037 y = 20 X = 1.2158 y = 21 Y = 0.9019 y = 22 X = 0.6079 y = 23

12   Pass
assert(isequal(number_of_folds(1721,740),21))

y = 0 X = 860.5000 y = 1 X = 430.2500 y = 2 Y = 370 y = 3 X = 215.1250 y = 4 Y = 185 y = 5 X = 107.5625 y = 6 Y = 92.5000 y = 7 X = 53.7812 y = 8 Y = 46.2500 y = 9 X = 26.8906 y = 10 Y = 23.1250 y = 11 X = 13.4453 y = 12 Y = 11.5625 y = 13 X = 6.7227 y = 14 Y = 5.7812 y = 15 X = 3.3613 y = 16 Y = 2.8906 y = 17 X = 1.6807 y = 18 Y = 1.4453 y = 19 X = 0.8403 y = 20 Y = 0.7227 y = 21

13   Pass
assert(isequal(number_of_folds(3620,3919),24))

y = 0 Y = 1.9595e+03 y = 1 X = 1810 y = 2 Y = 979.7500 y = 3 X = 905 y = 4 Y = 489.8750 y = 5 X = 452.5000 y = 6 Y = 244.9375 y = 7 X = 226.2500 y = 8 Y = 122.4688 y = 9 X = 113.1250 y = 10 Y = 61.2344 y = 11 X = 56.5625 y = 12 Y = 30.6172 y = 13 X = 28.2812 y = 14 Y = 15.3086 y = 15 X = 14.1406 y = 16 Y = 7.6543 y = 17 X = 7.0703 y = 18 Y = 3.8271 y = 19 X = 3.5352 y = 20 Y = 1.9136 y = 21 X = 1.7676 y = 22 Y = 0.9568 y = 23 X = 0.8838 y = 24

14   Pass
assert(isequal(number_of_folds(1756,445),20))

y = 0 X = 878 y = 1 X = 439 y = 2 Y = 222.5000 y = 3 X = 219.5000 y = 4 Y = 111.2500 y = 5 X = 109.7500 y = 6 Y = 55.6250 y = 7 X = 54.8750 y = 8 Y = 27.8125 y = 9 X = 27.4375 y = 10 Y = 13.9062 y = 11 X = 13.7188 y = 12 Y = 6.9531 y = 13 X = 6.8594 y = 14 Y = 3.4766 y = 15 X = 3.4297 y = 16 Y = 1.7383 y = 17 X = 1.7148 y = 18 Y = 0.8691 y = 19 X = 0.8574 y = 20

15   Pass
assert(isequal(number_of_folds(1033,1635),22))

y = 0 Y = 817.5000 y = 1 X = 516.5000 y = 2 Y = 408.7500 y = 3 X = 258.2500 y = 4 Y = 204.3750 y = 5 X = 129.1250 y = 6 Y = 102.1875 y = 7 X = 64.5625 y = 8 Y = 51.0938 y = 9 X = 32.2812 y = 10 Y = 25.5469 y = 11 X = 16.1406 y = 12 Y = 12.7734 y = 13 X = 8.0703 y = 14 Y = 6.3867 y = 15 X = 4.0352 y = 16 Y = 3.1934 y = 17 X = 2.0176 y = 18 Y = 1.5967 y = 19 X = 1.0088 y = 20 Y = 0.7983 y = 21 X = 0.5044 y = 22

16   Pass
assert(isequal(number_of_folds(2380,1049),23))

y = 0 X = 1190 y = 1 X = 595 y = 2 Y = 524.5000 y = 3 X = 297.5000 y = 4 Y = 262.2500 y = 5 X = 148.7500 y = 6 Y = 131.1250 y = 7 X = 74.3750 y = 8 Y = 65.5625 y = 9 X = 37.1875 y = 10 Y = 32.7812 y = 11 X = 18.5938 y = 12 Y = 16.3906 y = 13 X = 9.2969 y = 14 Y = 8.1953 y = 15 X = 4.6484 y = 16 Y = 4.0977 y = 17 X = 2.3242 y = 18 Y = 2.0488 y = 19 X = 1.1621 y = 20 Y = 1.0244 y = 21 X = 0.5811 y = 22 Y = 0.5122 y = 23

17   Pass
assert(isequal(number_of_folds(2412,2845),24))

y = 0 Y = 1.4225e+03 y = 1 X = 1206 y = 2 Y = 711.2500 y = 3 X = 603 y = 4 Y = 355.6250 y = 5 X = 301.5000 y = 6 Y = 177.8125 y = 7 X = 150.7500 y = 8 Y = 88.9062 y = 9 X = 75.3750 y = 10 Y = 44.4531 y = 11 X = 37.6875 y = 12 Y = 22.2266 y = 13 X = 18.8438 y = 14 Y = 11.1133 y = 15 X = 9.4219 y = 16 Y = 5.5566 y = 17 X = 4.7109 y = 18 Y = 2.7783 y = 19 X = 2.3555 y = 20 Y = 1.3892 y = 21 X = 1.1777 y = 22 Y = 0.6946 y = 23 X = 0.5889 y = 24

18   Pass
assert(isequal(number_of_folds(887,470),19))

y = 0 X = 443.5000 y = 1 Y = 235 y = 2 X = 221.7500 y = 3 Y = 117.5000 y = 4 X = 110.8750 y = 5 Y = 58.7500 y = 6 X = 55.4375 y = 7 Y = 29.3750 y = 8 X = 27.7188 y = 9 Y = 14.6875 y = 10 X = 13.8594 y = 11 Y = 7.3438 y = 12 X = 6.9297 y = 13 Y = 3.6719 y = 14 X = 3.4648 y = 15 Y = 1.8359 y = 16 X = 1.7324 y = 17 Y = 0.9180 y = 18 X = 0.8662 y = 19

19   Pass
assert(isequal(number_of_folds(1187,1276),22))

y = 0 Y = 638 y = 1 X = 593.5000 y = 2 Y = 319 y = 3 X = 296.7500 y = 4 Y = 159.5000 y = 5 X = 148.3750 y = 6 Y = 79.7500 y = 7 X = 74.1875 y = 8 Y = 39.8750 y = 9 X = 37.0938 y = 10 Y = 19.9375 y = 11 X = 18.5469 y = 12 Y = 9.9688 y = 13 X = 9.2734 y = 14 Y = 4.9844 y = 15 X = 4.6367 y = 16 Y = 2.4922 y = 17 X = 2.3184 y = 18 Y = 1.2461 y = 19 X = 1.1592 y = 20 Y = 0.6230 y = 21 X = 0.5796 y = 22

20   Pass
assert(isequal(number_of_folds(1697,2032),22))

y = 0 Y = 1016 y = 1 X = 848.5000 y = 2 Y = 508 y = 3 X = 424.2500 y = 4 Y = 254 y = 5 X = 212.1250 y = 6 Y = 127 y = 7 X = 106.0625 y = 8 Y = 63.5000 y = 9 X = 53.0312 y = 10 Y = 31.7500 y = 11 X = 26.5156 y = 12 Y = 15.8750 y = 13 X = 13.2578 y = 14 Y = 7.9375 y = 15 X = 6.6289 y = 16 Y = 3.9688 y = 17 X = 3.3145 y = 18 Y = 1.9844 y = 19 X = 1.6572 y = 20 Y = 0.9922 y = 21 X = 0.8286 y = 22

21   Pass
assert(isequal(number_of_folds(343,1050),20))

y = 0 Y = 525 y = 1 Y = 262.5000 y = 2 X = 171.5000 y = 3 Y = 131.2500 y = 4 X = 85.7500 y = 5 Y = 65.6250 y = 6 X = 42.8750 y = 7 Y = 32.8125 y = 8 X = 21.4375 y = 9 Y = 16.4062 y = 10 X = 10.7188 y = 11 Y = 8.2031 y = 12 X = 5.3594 y = 13 Y = 4.1016 y = 14 X = 2.6797 y = 15 Y = 2.0508 y = 16 X = 1.3398 y = 17 Y = 1.0254 y = 18 X = 0.6699 y = 19 Y = 0.5127 y = 20

22   Pass
assert(isequal(number_of_folds(3205,117),19))

y = 0 X = 1.6025e+03 y = 1 X = 801.2500 y = 2 X = 400.6250 y = 3 X = 200.3125 y = 4 X = 100.1562 y = 5 Y = 58.5000 y = 6 X = 50.0781 y = 7 Y = 29.2500 y = 8 X = 25.0391 y = 9 Y = 14.6250 y = 10 X = 12.5195 y = 11 Y = 7.3125 y = 12 X = 6.2598 y = 13 Y = 3.6562 y = 14 X = 3.1299 y = 15 Y = 1.8281 y = 16 X = 1.5649 y = 17 Y = 0.9141 y = 18 X = 0.7825 y = 19

23   Pass
assert(isequal(number_of_folds(3716,2922),24))

y = 0 X = 1858 y = 1 Y = 1461 y = 2 X = 929 y = 3 Y = 730.5000 y = 4 X = 464.5000 y = 5 Y = 365.2500 y = 6 X = 232.2500 y = 7 Y = 182.6250 y = 8 X = 116.1250 y = 9 Y = 91.3125 y = 10 X = 58.0625 y = 11 Y = 45.6562 y = 12 X = 29.0312 y = 13 Y = 22.8281 y = 14 X = 14.5156 y = 15 Y = 11.4141 y = 16 X = 7.2578 y = 17 Y = 5.7070 y = 18 X = 3.6289 y = 19 Y = 2.8535 y = 20 X = 1.8145 y = 21 Y = 1.4268 y = 22 X = 0.9072 y = 23 Y = 0.7134 y = 24

24   Pass
assert(isequal(number_of_folds(1955,2315),23))

y = 0 Y = 1.1575e+03 y = 1 X = 977.5000 y = 2 Y = 578.7500 y = 3 X = 488.7500 y = 4 Y = 289.3750 y = 5 X = 244.3750 y = 6 Y = 144.6875 y = 7 X = 122.1875 y = 8 Y = 72.3438 y = 9 X = 61.0938 y = 10 Y = 36.1719 y = 11 X = 30.5469 y = 12 Y = 18.0859 y = 13 X = 15.2734 y = 14 Y = 9.0430 y = 15 X = 7.6367 y = 16 Y = 4.5215 y = 17 X = 3.8184 y = 18 Y = 2.2607 y = 19 X = 1.9092 y = 20 Y = 1.1304 y = 21 X = 0.9546 y = 22 Y = 0.5652 y = 23

25   Pass
assert(isequal(number_of_folds(950,1836),21))

y = 0 Y = 918 y = 1 X = 475 y = 2 Y = 459 y = 3 X = 237.5000 y = 4 Y = 229.5000 y = 5 X = 118.7500 y = 6 Y = 114.7500 y = 7 X = 59.3750 y = 8 Y = 57.3750 y = 9 X = 29.6875 y = 10 Y = 28.6875 y = 11 X = 14.8438 y = 12 Y = 14.3438 y = 13 X = 7.4219 y = 14 Y = 7.1719 y = 15 X = 3.7109 y = 16 Y = 3.5859 y = 17 X = 1.8555 y = 18 Y = 1.7930 y = 19 X = 0.9277 y = 20 Y = 0.8965 y = 21

26   Pass
assert(isequal(number_of_folds(3853,2188),24))

y = 0 X = 1.9265e+03 y = 1 Y = 1094 y = 2 X = 963.2500 y = 3 Y = 547 y = 4 X = 481.6250 y = 5 Y = 273.5000 y = 6 X = 240.8125 y = 7 Y = 136.7500 y = 8 X = 120.4062 y = 9 Y = 68.3750 y = 10 X = 60.2031 y = 11 Y = 34.1875 y = 12 X = 30.1016 y = 13 Y = 17.0938 y = 14 X = 15.0508 y = 15 Y = 8.5469 y = 16 X = 7.5254 y = 17 Y = 4.2734 y = 18 X = 3.7627 y = 19 Y = 2.1367 y = 20 X = 1.8813 y = 21 Y = 1.0684 y = 22 X = 0.9407 y = 23 Y = 0.5342 y = 24

27   Pass
assert(isequal(number_of_folds(2085,927),22))

y = 0 X = 1.0425e+03 y = 1 X = 521.2500 y = 2 Y = 463.5000 y = 3 X = 260.6250 y = 4 Y = 231.7500 y = 5 X = 130.3125 y = 6 Y = 115.8750 y = 7 X = 65.1562 y = 8 Y = 57.9375 y = 9 X = 32.5781 y = 10 Y = 28.9688 y = 11 X = 16.2891 y = 12 Y = 14.4844 y = 13 X = 8.1445 y = 14 Y = 7.2422 y = 15 X = 4.0723 y = 16 Y = 3.6211 y = 17 X = 2.0361 y = 18 Y = 1.8105 y = 19 X = 1.0181 y = 20 Y = 0.9053 y = 21 X = 0.5090 y = 22

28   Pass
assert(isequal(number_of_folds(1956,2497),23))

y = 0 Y = 1.2485e+03 y = 1 X = 978 y = 2 Y = 624.2500 y = 3 X = 489 y = 4 Y = 312.1250 y = 5 X = 244.5000 y = 6 Y = 156.0625 y = 7 X = 122.2500 y = 8 Y = 78.0312 y = 9 X = 61.1250 y = 10 Y = 39.0156 y = 11 X = 30.5625 y = 12 Y = 19.5078 y = 13 X = 15.2812 y = 14 Y = 9.7539 y = 15 X = 7.6406 y = 16 Y = 4.8770 y = 17 X = 3.8203 y = 18 Y = 2.4385 y = 19 X = 1.9102 y = 20 Y = 1.2192 y = 21 X = 0.9551 y = 22 Y = 0.6096 y = 23

29   Pass
assert(isequal(number_of_folds(2717,1583),23))

y = 0 X = 1.3585e+03 y = 1 Y = 791.5000 y = 2 X = 679.2500 y = 3 Y = 395.7500 y = 4 X = 339.6250 y = 5 Y = 197.8750 y = 6 X = 169.8125 y = 7 Y = 98.9375 y = 8 X = 84.9062 y = 9 Y = 49.4688 y = 10 X = 42.4531 y = 11 Y = 24.7344 y = 12 X = 21.2266 y = 13 Y = 12.3672 y = 14 X = 10.6133 y = 15 Y = 6.1836 y = 16 X = 5.3066 y = 17 Y = 3.0918 y = 18 X = 2.6533 y = 19 Y = 1.5459 y = 20 X = 1.3267 y = 21 Y = 0.7729 y = 22 X = 0.6633 y = 23

30   Pass
assert(isequal(number_of_folds(1470,3952),23))

y = 0 Y = 1976 y = 1 Y = 988 y = 2 X = 735 y = 3 Y = 494 y = 4 X = 367.5000 y = 5 Y = 247 y = 6 X = 183.7500 y = 7 Y = 123.5000 y = 8 X = 91.8750 y = 9 Y = 61.7500 y = 10 X = 45.9375 y = 11 Y = 30.8750 y = 12 X = 22.9688 y = 13 Y = 15.4375 y = 14 X = 11.4844 y = 15 Y = 7.7188 y = 16 X = 5.7422 y = 17 Y = 3.8594 y = 18 X = 2.8711 y = 19 Y = 1.9297 y = 20 X = 1.4355 y = 21 Y = 0.9648 y = 22 X = 0.7178 y = 23

31   Pass
assert(isequal(number_of_folds(151,3541),20))

y = 0 Y = 1.7705e+03 y = 1 Y = 885.2500 y = 2 Y = 442.6250 y = 3 Y = 221.3125 y = 4 Y = 110.6562 y = 5 X = 75.5000 y = 6 Y = 55.3281 y = 7 X = 37.7500 y = 8 Y = 27.6641 y = 9 X = 18.8750 y = 10 Y = 13.8320 y = 11 X = 9.4375 y = 12 Y = 6.9160 y = 13 X = 4.7188 y = 14 Y = 3.4580 y = 15 X = 2.3594 y = 16 Y = 1.7290 y = 17 X = 1.1797 y = 18 Y = 0.8645 y = 19 X = 0.5898 y = 20

32   Pass
assert(isequal(number_of_folds(3654,3185),24))

y = 0 X = 1827 y = 1 Y = 1.5925e+03 y = 2 X = 913.5000 y = 3 Y = 796.2500 y = 4 X = 456.7500 y = 5 Y = 398.1250 y = 6 X = 228.3750 y = 7 Y = 199.0625 y = 8 X = 114.1875 y = 9 Y = 99.5312 y = 10 X = 57.0938 y = 11 Y = 49.7656 y = 12 X = 28.5469 y = 13 Y = 24.8828 y = 14 X = 14.2734 y = 15 Y = 12.4414 y = 16 X = 7.1367 y = 17 Y = 6.2207 y = 18 X = 3.5684 y = 19 Y = 3.1104 y = 20 X = 1.7842 y = 21 Y = 1.5552 y = 22 X = 0.8921 y = 23 Y = 0.7776 y = 24

33   Pass
assert(isequal(number_of_folds(395,1048),20))

y = 0 Y = 524 y = 1 Y = 262 y = 2 X = 197.5000 y = 3 Y = 131 y = 4 X = 98.7500 y = 5 Y = 65.5000 y = 6 X = 49.3750 y = 7 Y = 32.7500 y = 8 X = 24.6875 y = 9 Y = 16.3750 y = 10 X = 12.3438 y = 11 Y = 8.1875 y = 12 X = 6.1719 y = 13 Y = 4.0938 y = 14 X = 3.0859 y = 15 Y = 2.0469 y = 16 X = 1.5430 y = 17 Y = 1.0234 y = 18 X = 0.7715 y = 19 Y = 0.5117 y = 20

34   Pass
assert(isequal(number_of_folds(1342,2719),23))

y = 0 Y = 1.3595e+03 y = 1 Y = 679.7500 y = 2 X = 671 y = 3 Y = 339.8750 y = 4 X = 335.5000 y = 5 Y = 169.9375 y = 6 X = 167.7500 y = 7 Y = 84.9688 y = 8 X = 83.8750 y = 9 Y = 42.4844 y = 10 X = 41.9375 y = 11 Y = 21.2422 y = 12 X = 20.9688 y = 13 Y = 10.6211 y = 14 X = 10.4844 y = 15 Y = 5.3105 y = 16 X = 5.2422 y = 17 Y = 2.6553 y = 18 X = 2.6211 y = 19 Y = 1.3276 y = 20 X = 1.3105 y = 21 Y = 0.6638 y = 22 X = 0.6553 y = 23

35   Pass
assert(isequal(number_of_folds(547,2885),22))

y = 0 Y = 1.4425e+03 y = 1 Y = 721.2500 y = 2 Y = 360.6250 y = 3 X = 273.5000 y = 4 Y = 180.3125 y = 5 X = 136.7500 y = 6 Y = 90.1562 y = 7 X = 68.3750 y = 8 Y = 45.0781 y = 9 X = 34.1875 y = 10 Y = 22.5391 y = 11 X = 17.0938 y = 12 Y = 11.2695 y = 13 X = 8.5469 y = 14 Y = 5.6348 y = 15 X = 4.2734 y = 16 Y = 2.8174 y = 17 X = 2.1367 y = 18 Y = 1.4087 y = 19 X = 1.0684 y = 20 Y = 0.7043 y = 21 X = 0.5342 y = 22

36   Pass
assert(isequal(number_of_folds(428,2616),21))

y = 0 Y = 1308 y = 1 Y = 654 y = 2 Y = 327 y = 3 X = 214 y = 4 Y = 163.5000 y = 5 X = 107 y = 6 Y = 81.7500 y = 7 X = 53.5000 y = 8 Y = 40.8750 y = 9 X = 26.7500 y = 10 Y = 20.4375 y = 11 X = 13.3750 y = 12 Y = 10.2188 y = 13 X = 6.6875 y = 14 Y = 5.1094 y = 15 X = 3.3438 y = 16 Y = 2.5547 y = 17 X = 1.6719 y = 18 Y = 1.2773 y = 19 X = 0.8359 y = 20 Y = 0.6387 y = 21

37   Pass
assert(isequal(number_of_folds(1977,3117),23))

y = 0 Y = 1.5585e+03 y = 1 X = 988.5000 y = 2 Y = 779.2500 y = 3 X = 494.2500 y = 4 Y = 389.6250 y = 5 X = 247.1250 y = 6 Y = 194.8125 y = 7 X = 123.5625 y = 8 Y = 97.4062 y = 9 X = 61.7812 y = 10 Y = 48.7031 y = 11 X = 30.8906 y = 12 Y = 24.3516 y = 13 X = 15.4453 y = 14 Y = 12.1758 y = 15 X = 7.7227 y = 16 Y = 6.0879 y = 17 X = 3.8613 y = 18 Y = 3.0439 y = 19 X = 1.9307 y = 20 Y = 1.5220 y = 21 X = 0.9653 y = 22 Y = 0.7610 y = 23

38   Pass
assert(isequal(number_of_folds(2861,3615),24))

y = 0 Y = 1.8075e+03 y = 1 X = 1.4305e+03 y = 2 Y = 903.7500 y = 3 X = 715.2500 y = 4 Y = 451.8750 y = 5 X = 357.6250 y = 6 Y = 225.9375 y = 7 X = 178.8125 y = 8 Y = 112.9688 y = 9 X = 89.4062 y = 10 Y = 56.4844 y = 11 X = 44.7031 y = 12 Y = 28.2422 y = 13 X = 22.3516 y = 14 Y = 14.1211 y = 15 X = 11.1758 y = 16 Y = 7.0605 y = 17 X = 5.5879 y = 18 Y = 3.5303 y = 19 X = 2.7939 y = 20 Y = 1.7651 y = 21 X = 1.3970 y = 22 Y = 0.8826 y = 23 X = 0.6985 y = 24

39   Pass
assert(isequal(number_of_folds(3564,1337),23))

y = 0 X = 1782 y = 1 X = 891 y = 2 Y = 668.5000 y = 3 X = 445.5000 y = 4 Y = 334.2500 y = 5 X = 222.7500 y = 6 Y = 167.1250 y = 7 X = 111.3750 y = 8 Y = 83.5625 y = 9 X = 55.6875 y = 10 Y = 41.7812 y = 11 X = 27.8438 y = 12 Y = 20.8906 y = 13 X = 13.9219 y = 14 Y = 10.4453 y = 15 X = 6.9609 y = 16 Y = 5.2227 y = 17 X = 3.4805 y = 18 Y = 2.6113 y = 19 X = 1.7402 y = 20 Y = 1.3057 y = 21 X = 0.8701 y = 22 Y = 0.6528 y = 23

40   Pass
assert(isequal(number_of_folds(1,4000),13))

y = 0 Y = 2000 y = 1 Y = 1000 y = 2 Y = 500 y = 3 Y = 250 y = 4 Y = 125 y = 5 Y = 62.5000 y = 6 Y = 31.2500 y = 7 Y = 15.6250 y = 8 Y = 7.8125 y = 9 Y = 3.9062 y = 10 Y = 1.9531 y = 11 Y = 0.9766 y = 12 X = 0.5000 y = 13

41   Pass
assert(isequal(number_of_folds(2795,792),22))

y = 0 X = 1.3975e+03 y = 1 X = 698.7500 y = 2 Y = 396 y = 3 X = 349.3750 y = 4 Y = 198 y = 5 X = 174.6875 y = 6 Y = 99 y = 7 X = 87.3438 y = 8 Y = 49.5000 y = 9 X = 43.6719 y = 10 Y = 24.7500 y = 11 X = 21.8359 y = 12 Y = 12.3750 y = 13 X = 10.9180 y = 14 Y = 6.1875 y = 15 X = 5.4590 y = 16 Y = 3.0938 y = 17 X = 2.7295 y = 18 Y = 1.5469 y = 19 X = 1.3647 y = 20 Y = 0.7734 y = 21 X = 0.6824 y = 22

42   Pass
assert(isequal(number_of_folds(123,2977),19))

y = 0 Y = 1.4885e+03 y = 1 Y = 744.2500 y = 2 Y = 372.1250 y = 3 Y = 186.0625 y = 4 Y = 93.0312 y = 5 X = 61.5000 y = 6 Y = 46.5156 y = 7 X = 30.7500 y = 8 Y = 23.2578 y = 9 X = 15.3750 y = 10 Y = 11.6289 y = 11 X = 7.6875 y = 12 Y = 5.8145 y = 13 X = 3.8438 y = 14 Y = 2.9072 y = 15 X = 1.9219 y = 16 Y = 1.4536 y = 17 X = 0.9609 y = 18 Y = 0.7268 y = 19

43   Pass
assert(isequal(number_of_folds(2001,1920),22))

y = 0 X = 1.0005e+03 y = 1 Y = 960 y = 2 X = 500.2500 y = 3 Y = 480 y = 4 X = 250.1250 y = 5 Y = 240 y = 6 X = 125.0625 y = 7 Y = 120 y = 8 X = 62.5312 y = 9 Y = 60 y = 10 X = 31.2656 y = 11 Y = 30 y = 12 X = 15.6328 y = 13 Y = 15 y = 14 X = 7.8164 y = 15 Y = 7.5000 y = 16 X = 3.9082 y = 17 Y = 3.7500 y = 18 X = 1.9541 y = 19 Y = 1.8750 y = 20 X = 0.9771 y = 21 Y = 0.9375 y = 22

44   Pass
assert(isequal(number_of_folds(3619,2440),24))

y = 0 X = 1.8095e+03 y = 1 Y = 1220 y = 2 X = 904.7500 y = 3 Y = 610 y = 4 X = 452.3750 y = 5 Y = 305 y = 6 X = 226.1875 y = 7 Y = 152.5000 y = 8 X = 113.0938 y = 9 Y = 76.2500 y = 10 X = 56.5469 y = 11 Y = 38.1250 y = 12 X = 28.2734 y = 13 Y = 19.0625 y = 14 X = 14.1367 y = 15 Y = 9.5312 y = 16 X = 7.0684 y = 17 Y = 4.7656 y = 18 X = 3.5342 y = 19 Y = 2.3828 y = 20 X = 1.7671 y = 21 Y = 1.1914 y = 22 X = 0.8835 y = 23 Y = 0.5957 y = 24

45   Pass
assert(isequal(number_of_folds(2471,3438),24))

y = 0 Y = 1719 y = 1 X = 1.2355e+03 y = 2 Y = 859.5000 y = 3 X = 617.7500 y = 4 Y = 429.7500 y = 5 X = 308.8750 y = 6 Y = 214.8750 y = 7 X = 154.4375 y = 8 Y = 107.4375 y = 9 X = 77.2188 y = 10 Y = 53.7188 y = 11 X = 38.6094 y = 12 Y = 26.8594 y = 13 X = 19.3047 y = 14 Y = 13.4297 y = 15 X = 9.6523 y = 16 Y = 6.7148 y = 17 X = 4.8262 y = 18 Y = 3.3574 y = 19 X = 2.4131 y = 20 Y = 1.6787 y = 21 X = 1.2065 y = 22 Y = 0.8394 y = 23 X = 0.6033 y = 24

46   Pass
assert(isequal(number_of_folds(3222,2307),24))

y = 0 X = 1611 y = 1 Y = 1.1535e+03 y = 2 X = 805.5000 y = 3 Y = 576.7500 y = 4 X = 402.7500 y = 5 Y = 288.3750 y = 6 X = 201.3750 y = 7 Y = 144.1875 y = 8 X = 100.6875 y = 9 Y = 72.0938 y = 10 X = 50.3438 y = 11 Y = 36.0469 y = 12 X = 25.1719 y = 13 Y = 18.0234 y = 14 X = 12.5859 y = 15 Y = 9.0117 y = 16 X = 6.2930 y = 17 Y = 4.5059 y = 18 X = 3.1465 y = 19 Y = 2.2529 y = 20 X = 1.5732 y = 21 Y = 1.1265 y = 22 X = 0.7866 y = 23 Y = 0.5632 y = 24

47   Pass
assert(isequal(number_of_folds(732,960),20))

y = 0 Y = 480 y = 1 X = 366 y = 2 Y = 240 y = 3 X = 183 y = 4 Y = 120 y = 5 X = 91.5000 y = 6 Y = 60 y = 7 X = 45.7500 y = 8 Y = 30 y = 9 X = 22.8750 y = 10 Y = 15 y = 11 X = 11.4375 y = 12 Y = 7.5000 y = 13 X = 5.7188 y = 14 Y = 3.7500 y = 15 X = 2.8594 y = 16 Y = 1.8750 y = 17 X = 1.4297 y = 18 Y = 0.9375 y = 19 X = 0.7148 y = 20

48   Pass
assert(isequal(number_of_folds(3547,115),19))

y = 0 X = 1.7735e+03 y = 1 X = 886.7500 y = 2 X = 443.3750 y = 3 X = 221.6875 y = 4 X = 110.8438 y = 5 Y = 57.5000 y = 6 X = 55.4219 y = 7 Y = 28.7500 y = 8 X = 27.7109 y = 9 Y = 14.3750 y = 10 X = 13.8555 y = 11 Y = 7.1875 y = 12 X = 6.9277 y = 13 Y = 3.5938 y = 14 X = 3.4639 y = 15 Y = 1.7969 y = 16 X = 1.7319 y = 17 Y = 0.8984 y = 18 X = 0.8660 y = 19

49   Pass
assert(isequal(number_of_folds(1960,672),21))

y = 0 X = 980 y = 1 X = 490 y = 2 Y = 336 y = 3 X = 245 y = 4 Y = 168 y = 5 X = 122.5000 y = 6 Y = 84 y = 7 X = 61.2500 y = 8 Y = 42 y = 9 X = 30.6250 y = 10 Y = 21 y = 11 X = 15.3125 y = 12 Y = 10.5000 y = 13 X = 7.6562 y = 14 Y = 5.2500 y = 15 X = 3.8281 y = 16 Y = 2.6250 y = 17 X = 1.9141 y = 18 Y = 1.3125 y = 19 X = 0.9570 y = 20 Y = 0.6562 y = 21

50   Pass
assert(isequal(number_of_folds(3915,2851),24))

y = 0 X = 1.9575e+03 y = 1 Y = 1.4255e+03 y = 2 X = 978.7500 y = 3 Y = 712.7500 y = 4 X = 489.3750 y = 5 Y = 356.3750 y = 6 X = 244.6875 y = 7 Y = 178.1875 y = 8 X = 122.3438 y = 9 Y = 89.0938 y = 10 X = 61.1719 y = 11 Y = 44.5469 y = 12 X = 30.5859 y = 13 Y = 22.2734 y = 14 X = 15.2930 y = 15 Y = 11.1367 y = 16 X = 7.6465 y = 17 Y = 5.5684 y = 18 X = 3.8232 y = 19 Y = 2.7842 y = 20 X = 1.9116 y = 21 Y = 1.3921 y = 22 X = 0.9558 y = 23 Y = 0.6960 y = 24

51   Pass
assert(isequal(number_of_folds(2002,1885),22))

y = 0 X = 1001 y = 1 Y = 942.5000 y = 2 X = 500.5000 y = 3 Y = 471.2500 y = 4 X = 250.2500 y = 5 Y = 235.6250 y = 6 X = 125.1250 y = 7 Y = 117.8125 y = 8 X = 62.5625 y = 9 Y = 58.9062 y = 10 X = 31.2812 y = 11 Y = 29.4531 y = 12 X = 15.6406 y = 13 Y = 14.7266 y = 14 X = 7.8203 y = 15 Y = 7.3633 y = 16 X = 3.9102 y = 17 Y = 3.6816 y = 18 X = 1.9551 y = 19 Y = 1.8408 y = 20 X = 0.9775 y = 21 Y = 0.9204 y = 22

52   Pass
assert(isequal(number_of_folds(239,2728),20))

y = 0 Y = 1364 y = 1 Y = 682 y = 2 Y = 341 y = 3 Y = 170.5000 y = 4 X = 119.5000 y = 5 Y = 85.2500 y = 6 X = 59.7500 y = 7 Y = 42.6250 y = 8 X = 29.8750 y = 9 Y = 21.3125 y = 10 X = 14.9375 y = 11 Y = 10.6562 y = 12 X = 7.4688 y = 13 Y = 5.3281 y = 14 X = 3.7344 y = 15 Y = 2.6641 y = 16 X = 1.8672 y = 17 Y = 1.3320 y = 18 X = 0.9336 y = 19 Y = 0.6660 y = 20

53   Pass
assert(isequal(number_of_folds(170,286),17))

y = 0 Y = 143 y = 1 X = 85 y = 2 Y = 71.5000 y = 3 X = 42.5000 y = 4 Y = 35.7500 y = 5 X = 21.2500 y = 6 Y = 17.8750 y = 7 X = 10.6250 y = 8 Y = 8.9375 y = 9 X = 5.3125 y = 10 Y = 4.4688 y = 11 X = 2.6562 y = 12 Y = 2.2344 y = 13 X = 1.3281 y = 14 Y = 1.1172 y = 15 X = 0.6641 y = 16 Y = 0.5586 y = 17

54   Pass
assert(isequal(number_of_folds(2087,387),21))

y = 0 X = 1.0435e+03 y = 1 X = 521.7500 y = 2 X = 260.8750 y = 3 Y = 193.5000 y = 4 X = 130.4375 y = 5 Y = 96.7500 y = 6 X = 65.2188 y = 7 Y = 48.3750 y = 8 X = 32.6094 y = 9 Y = 24.1875 y = 10 X = 16.3047 y = 11 Y = 12.0938 y = 12 X = 8.1523 y = 13 Y = 6.0469 y = 14 X = 4.0762 y = 15 Y = 3.0234 y = 16 X = 2.0381 y = 17 Y = 1.5117 y = 18 X = 1.0190 y = 19 Y = 0.7559 y = 20 X = 0.5095 y = 21

55   Pass
assert(isequal(number_of_folds(3273,3271),24))

y = 0 X = 1.6365e+03 y = 1 Y = 1.6355e+03 y = 2 X = 818.2500 y = 3 Y = 817.7500 y = 4 X = 409.1250 y = 5 Y = 408.8750 y = 6 X = 204.5625 y = 7 Y = 204.4375 y = 8 X = 102.2812 y = 9 Y = 102.2188 y = 10 X = 51.1406 y = 11 Y = 51.1094 y = 12 X = 25.5703 y = 13 Y = 25.5547 y = 14 X = 12.7852 y = 15 Y = 12.7773 y = 16 X = 6.3926 y = 17 Y = 6.3887 y = 18 X = 3.1963 y = 19 Y = 3.1943 y = 20 X = 1.5981 y = 21 Y = 1.5972 y = 22 X = 0.7991 y = 23 Y = 0.7986 y = 24

56   Pass
assert(isequal(number_of_folds(2890,600),22))

y = 0 X = 1445 y = 1 X = 722.5000 y = 2 X = 361.2500 y = 3 Y = 300 y = 4 X = 180.6250 y = 5 Y = 150 y = 6 X = 90.3125 y = 7 Y = 75 y = 8 X = 45.1562 y = 9 Y = 37.5000 y = 10 X = 22.5781 y = 11 Y = 18.7500 y = 12 X = 11.2891 y = 13 Y = 9.3750 y = 14 X = 5.6445 y = 15 Y = 4.6875 y = 16 X = 2.8223 y = 17 Y = 2.3438 y = 18 X = 1.4111 y = 19 Y = 1.1719 y = 20 X = 0.7056 y = 21 Y = 0.5859 y = 22

57   Pass
assert(isequal(number_of_folds(2639,2075),24))

y = 0 X = 1.3195e+03 y = 1 Y = 1.0375e+03 y = 2 X = 659.7500 y = 3 Y = 518.7500 y = 4 X = 329.8750 y = 5 Y = 259.3750 y = 6 X = 164.9375 y = 7 Y = 129.6875 y = 8 X = 82.4688 y = 9 Y = 64.8438 y = 10 X = 41.2344 y = 11 Y = 32.4219 y = 12 X = 20.6172 y = 13 Y = 16.2109 y = 14 X = 10.3086 y = 15 Y = 8.1055 y = 16 X = 5.1543 y = 17 Y = 4.0527 y = 18 X = 2.5771 y = 19 Y = 2.0264 y = 20 X = 1.2886 y = 21 Y = 1.0132 y = 22 X = 0.6443 y = 23 Y = 0.5066 y = 24

58   Pass
assert(isequal(number_of_folds(3892,2596),24))

y = 0 X = 1946 y = 1 Y = 1298 y = 2 X = 973 y = 3 Y = 649 y = 4 X = 486.5000 y = 5 Y = 324.5000 y = 6 X = 243.2500 y = 7 Y = 162.2500 y = 8 X = 121.6250 y = 9 Y = 81.1250 y = 10 X = 60.8125 y = 11 Y = 40.5625 y = 12 X = 30.4062 y = 13 Y = 20.2812 y = 14 X = 15.2031 y = 15 Y = 10.1406 y = 16 X = 7.6016 y = 17 Y = 5.0703 y = 18 X = 3.8008 y = 19 Y = 2.5352 y = 20 X = 1.9004 y = 21 Y = 1.2676 y = 22 X = 0.9502 y = 23 Y = 0.6338 y = 24

59   Pass
assert(isequal(number_of_folds(3202,1816),23))

y = 0 X = 1601 y = 1 Y = 908 y = 2 X = 800.5000 y = 3 Y = 454 y = 4 X = 400.2500 y = 5 Y = 227 y = 6 X = 200.1250 y = 7 Y = 113.5000 y = 8 X = 100.0625 y = 9 Y = 56.7500 y = 10 X = 50.0312 y = 11 Y = 28.3750 y = 12 X = 25.0156 y = 13 Y = 14.1875 y = 14 X = 12.5078 y = 15 Y = 7.0938 y = 16 X = 6.2539 y = 17 Y = 3.5469 y = 18 X = 3.1270 y = 19 Y = 1.7734 y = 20 X = 1.5635 y = 21 Y = 0.8867 y = 22 X = 0.7817 y = 23

60   Pass
assert(isequal(number_of_folds(1730,3302),23))

y = 0 Y = 1651 y = 1 X = 865 y = 2 Y = 825.5000 y = 3 X = 432.5000 y = 4 Y = 412.7500 y = 5 X = 216.2500 y = 6 Y = 206.3750 y = 7 X = 108.1250 y = 8 Y = 103.1875 y = 9 X = 54.0625 y = 10 Y = 51.5938 y = 11 X = 27.0312 y = 12 Y = 25.7969 y = 13 X = 13.5156 y = 14 Y = 12.8984 y = 15 X = 6.7578 y = 16 Y = 6.4492 y = 17 X = 3.3789 y = 18 Y = 3.2246 y = 19 X = 1.6895 y = 20 Y = 1.6123 y = 21 X = 0.8447 y = 22 Y = 0.8062 y = 23

61   Pass
assert(isequal(number_of_folds(334,533),19))

y = 0 Y = 266.5000 y = 1 X = 167 y = 2 Y = 133.2500 y = 3 X = 83.5000 y = 4 Y = 66.6250 y = 5 X = 41.7500 y = 6 Y = 33.3125 y = 7 X = 20.8750 y = 8 Y = 16.6562 y = 9 X = 10.4375 y = 10 Y = 8.3281 y = 11 X = 5.2188 y = 12 Y = 4.1641 y = 13 X = 2.6094 y = 14 Y = 2.0820 y = 15 X = 1.3047 y = 16 Y = 1.0410 y = 17 X = 0.6523 y = 18 Y = 0.5205 y = 19

62   Pass
assert(isequal(number_of_folds(694,1564),21))

y = 0 Y = 782 y = 1 Y = 391 y = 2 X = 347 y = 3 Y = 195.5000 y = 4 X = 173.5000 y = 5 Y = 97.7500 y = 6 X = 86.7500 y = 7 Y = 48.8750 y = 8 X = 43.3750 y = 9 Y = 24.4375 y = 10 X = 21.6875 y = 11 Y = 12.2188 y = 12 X = 10.8438 y = 13 Y = 6.1094 y = 14 X = 5.4219 y = 15 Y = 3.0547 y = 16 X = 2.7109 y = 17 Y = 1.5273 y = 18 X = 1.3555 y = 19 Y = 0.7637 y = 20 X = 0.6777 y = 21

63   Pass
assert(isequal(number_of_folds(3326,3214),24))

y = 0 X = 1663 y = 1 Y = 1607 y = 2 X = 831.5000 y = 3 Y = 803.5000 y = 4 X = 415.7500 y = 5 Y = 401.7500 y = 6 X = 207.8750 y = 7 Y = 200.8750 y = 8 X = 103.9375 y = 9 Y = 100.4375 y = 10 X = 51.9688 y = 11 Y = 50.2188 y = 12 X = 25.9844 y = 13 Y = 25.1094 y = 14 X = 12.9922 y = 15 Y = 12.5547 y = 16 X = 6.4961 y = 17 Y = 6.2773 y = 18 X = 3.2480 y = 19 Y = 3.1387 y = 20 X = 1.6240 y = 21 Y = 1.5693 y = 22 X = 0.8120 y = 23 Y = 0.7847 y = 24

64   Pass
assert(isequal(number_of_folds(242,1598),19))

y = 0 Y = 799 y = 1 Y = 399.5000 y = 2 Y = 199.7500 y = 3 X = 121 y = 4 Y = 99.8750 y = 5 X = 60.5000 y = 6 Y = 49.9375 y = 7 X = 30.2500 y = 8 Y = 24.9688 y = 9 X = 15.1250 y = 10 Y = 12.4844 y = 11 X = 7.5625 y = 12 Y = 6.2422 y = 13 X = 3.7812 y = 14 Y = 3.1211 y = 15 X = 1.8906 y = 16 Y = 1.5605 y = 17 X = 0.9453 y = 18 Y = 0.7803 y = 19

65   Pass
assert(isequal(number_of_folds(2108,1668),23))

y = 0 X = 1054 y = 1 Y = 834 y = 2 X = 527 y = 3 Y = 417 y = 4 X = 263.5000 y = 5 Y = 208.5000 y = 6 X = 131.7500 y = 7 Y = 104.2500 y = 8 X = 65.8750 y = 9 Y = 52.1250 y = 10 X = 32.9375 y = 11 Y = 26.0625 y = 12 X = 16.4688 y = 13 Y = 13.0312 y = 14 X = 8.2344 y = 15 Y = 6.5156 y = 16 X = 4.1172 y = 17 Y = 3.2578 y = 18 X = 2.0586 y = 19 Y = 1.6289 y = 20 X = 1.0293 y = 21 Y = 0.8145 y = 22 X = 0.5146 y = 23

66   Pass
assert(isequal(number_of_folds(2628,2512),24))

y = 0 X = 1314 y = 1 Y = 1256 y = 2 X = 657 y = 3 Y = 628 y = 4 X = 328.5000 y = 5 Y = 314 y = 6 X = 164.2500 y = 7 Y = 157 y = 8 X = 82.1250 y = 9 Y = 78.5000 y = 10 X = 41.0625 y = 11 Y = 39.2500 y = 12 X = 20.5312 y = 13 Y = 19.6250 y = 14 X = 10.2656 y = 15 Y = 9.8125 y = 16 X = 5.1328 y = 17 Y = 4.9062 y = 18 X = 2.5664 y = 19 Y = 2.4531 y = 20 X = 1.2832 y = 21 Y = 1.2266 y = 22 X = 0.6416 y = 23 Y = 0.6133 y = 24

67   Pass
assert(isequal(number_of_folds(1168,1727),22))

y = 0 Y = 863.5000 y = 1 X = 584 y = 2 Y = 431.7500 y = 3 X = 292 y = 4 Y = 215.8750 y = 5 X = 146 y = 6 Y = 107.9375 y = 7 X = 73 y = 8 Y = 53.9688 y = 9 X = 36.5000 y = 10 Y = 26.9844 y = 11 X = 18.2500 y = 12 Y = 13.4922 y = 13 X = 9.1250 y = 14 Y = 6.7461 y = 15 X = 4.5625 y = 16 Y = 3.3730 y = 17 X = 2.2812 y = 18 Y = 1.6865 y = 19 X = 1.1406 y = 20 Y = 0.8433 y = 21 X = 0.5703 y = 22

68   Pass
assert(isequal(number_of_folds(62,3937),18))

y = 0 Y = 1.9685e+03 y = 1 Y = 984.2500 y = 2 Y = 492.1250 y = 3 Y = 246.0625 y = 4 Y = 123.0312 y = 5 Y = 61.5156 y = 6 X = 31 y = 7 Y = 30.7578 y = 8 X = 15.5000 y = 9 Y = 15.3789 y = 10 X = 7.7500 y = 11 Y = 7.6895 y = 12 X = 3.8750 y = 13 Y = 3.8447 y = 14 X = 1.9375 y = 15 Y = 1.9224 y = 16 X = 0.9688 y = 17 Y = 0.9612 y = 18

69   Pass
assert(isequal(number_of_folds(669,425),19))

y = 0 X = 334.5000 y = 1 Y = 212.5000 y = 2 X = 167.2500 y = 3 Y = 106.2500 y = 4 X = 83.6250 y = 5 Y = 53.1250 y = 6 X = 41.8125 y = 7 Y = 26.5625 y = 8 X = 20.9062 y = 9 Y = 13.2812 y = 10 X = 10.4531 y = 11 Y = 6.6406 y = 12 X = 5.2266 y = 13 Y = 3.3203 y = 14 X = 2.6133 y = 15 Y = 1.6602 y = 16 X = 1.3066 y = 17 Y = 0.8301 y = 18 X = 0.6533 y = 19

70   Pass
assert(isequal(number_of_folds(1490,793),21))

y = 0 X = 745 y = 1 Y = 396.5000 y = 2 X = 372.5000 y = 3 Y = 198.2500 y = 4 X = 186.2500 y = 5 Y = 99.1250 y = 6 X = 93.1250 y = 7 Y = 49.5625 y = 8 X = 46.5625 y = 9 Y = 24.7812 y = 10 X = 23.2812 y = 11 Y = 12.3906 y = 12 X = 11.6406 y = 13 Y = 6.1953 y = 14 X = 5.8203 y = 15 Y = 3.0977 y = 16 X = 2.9102 y = 17 Y = 1.5488 y = 18 X = 1.4551 y = 19 Y = 0.7744 y = 20 X = 0.7275 y = 21

71   Pass
assert(isequal(number_of_folds(1959,1358),22))

y = 0 X = 979.5000 y = 1 Y = 679 y = 2 X = 489.7500 y = 3 Y = 339.5000 y = 4 X = 244.8750 y = 5 Y = 169.7500 y = 6 X = 122.4375 y = 7 Y = 84.8750 y = 8 X = 61.2188 y = 9 Y = 42.4375 y = 10 X = 30.6094 y = 11 Y = 21.2188 y = 12 X = 15.3047 y = 13 Y = 10.6094 y = 14 X = 7.6523 y = 15 Y = 5.3047 y = 16 X = 3.8262 y = 17 Y = 2.6523 y = 18 X = 1.9131 y = 19 Y = 1.3262 y = 20 X = 0.9565 y = 21 Y = 0.6631 y = 22

72   Pass
assert(isequal(number_of_folds(3807,3682),24))

y = 0 X = 1.9035e+03 y = 1 Y = 1841 y = 2 X = 951.7500 y = 3 Y = 920.5000 y = 4 X = 475.8750 y = 5 Y = 460.2500 y = 6 X = 237.9375 y = 7 Y = 230.1250 y = 8 X = 118.9688 y = 9 Y = 115.0625 y = 10 X = 59.4844 y = 11 Y = 57.5312 y = 12 X = 29.7422 y = 13 Y = 28.7656 y = 14 X = 14.8711 y = 15 Y = 14.3828 y = 16 X = 7.4355 y = 17 Y = 7.1914 y = 18 X = 3.7178 y = 19 Y = 3.5957 y = 20 X = 1.8589 y = 21 Y = 1.7979 y = 22 X = 0.9294 y = 23 Y = 0.8989 y = 24

73   Pass
assert(isequal(number_of_folds(211,2952),20))

y = 0 Y = 1476 y = 1 Y = 738 y = 2 Y = 369 y = 3 Y = 184.5000 y = 4 X = 105.5000 y = 5 Y = 92.2500 y = 6 X = 52.7500 y = 7 Y = 46.1250 y = 8 X = 26.3750 y = 9 Y = 23.0625 y = 10 X = 13.1875 y = 11 Y = 11.5312 y = 12 X = 6.5938 y = 13 Y = 5.7656 y = 14 X = 3.2969 y = 15 Y = 2.8828 y = 16 X = 1.6484 y = 17 Y = 1.4414 y = 18 X = 0.8242 y = 19 Y = 0.7207 y = 20

74   Pass
assert(isequal(number_of_folds(1077,1692),22))

y = 0 Y = 846 y = 1 X = 538.5000 y = 2 Y = 423 y = 3 X = 269.2500 y = 4 Y = 211.5000 y = 5 X = 134.6250 y = 6 Y = 105.7500 y = 7 X = 67.3125 y = 8 Y = 52.8750 y = 9 X = 33.6562 y = 10 Y = 26.4375 y = 11 X = 16.8281 y = 12 Y = 13.2188 y = 13 X = 8.4141 y = 14 Y = 6.6094 y = 15 X = 4.2070 y = 16 Y = 3.3047 y = 17 X = 2.1035 y = 18 Y = 1.6523 y = 19 X = 1.0518 y = 20 Y = 0.8262 y = 21 X = 0.5259 y = 22

75   Pass
assert(isequal(number_of_folds(2192,3771),24))

y = 0 Y = 1.8855e+03 y = 1 X = 1096 y = 2 Y = 942.7500 y = 3 X = 548 y = 4 Y = 471.3750 y = 5 X = 274 y = 6 Y = 235.6875 y = 7 X = 137 y = 8 Y = 117.8438 y = 9 X = 68.5000 y = 10 Y = 58.9219 y = 11 X = 34.2500 y = 12 Y = 29.4609 y = 13 X = 17.1250 y = 14 Y = 14.7305 y = 15 X = 8.5625 y = 16 Y = 7.3652 y = 17 X = 4.2812 y = 18 Y = 3.6826 y = 19 X = 2.1406 y = 20 Y = 1.8413 y = 21 X = 1.0703 y = 22 Y = 0.9207 y = 23 X = 0.5352 y = 24

76   Pass
assert(isequal(number_of_folds(1,1),2))

y = 0 X = 0.5000 y = 1 Y = 0.5000 y = 2

77   Pass
assert(isequal(number_of_folds(1671,3933),23))

y = 0 Y = 1.9665e+03 y = 1 Y = 983.2500 y = 2 X = 835.5000 y = 3 Y = 491.6250 y = 4 X = 417.7500 y = 5 Y = 245.8125 y = 6 X = 208.8750 y = 7 Y = 122.9062 y = 8 X = 104.4375 y = 9 Y = 61.4531 y = 10 X = 52.2188 y = 11 Y = 30.7266 y = 12 X = 26.1094 y = 13 Y = 15.3633 y = 14 X = 13.0547 y = 15 Y = 7.6816 y = 16 X = 6.5273 y = 17 Y = 3.8408 y = 18 X = 3.2637 y = 19 Y = 1.9204 y = 20 X = 1.6318 y = 21 Y = 0.9602 y = 22 X = 0.8159 y = 23

78   Pass
assert(isequal(number_of_folds(1206,2805),23))

y = 0 Y = 1.4025e+03 y = 1 Y = 701.2500 y = 2 X = 603 y = 3 Y = 350.6250 y = 4 X = 301.5000 y = 5 Y = 175.3125 y = 6 X = 150.7500 y = 7 Y = 87.6562 y = 8 X = 75.3750 y = 9 Y = 43.8281 y = 10 X = 37.6875 y = 11 Y = 21.9141 y = 12 X = 18.8438 y = 13 Y = 10.9570 y = 14 X = 9.4219 y = 15 Y = 5.4785 y = 16 X = 4.7109 y = 17 Y = 2.7393 y = 18 X = 2.3555 y = 19 Y = 1.3696 y = 20 X = 1.1777 y = 21 Y = 0.6848 y = 22 X = 0.5889 y = 23

79   Pass
assert(isequal(number_of_folds(2666,2157),24))

y = 0 X = 1333 y = 1 Y = 1.0785e+03 y = 2 X = 666.5000 y = 3 Y = 539.2500 y = 4 X = 333.2500 y = 5 Y = 269.6250 y = 6 X = 166.6250 y = 7 Y = 134.8125 y = 8 X = 83.3125 y = 9 Y = 67.4062 y = 10 X = 41.6562 y = 11 Y = 33.7031 y = 12 X = 20.8281 y = 13 Y = 16.8516 y = 14 X = 10.4141 y = 15 Y = 8.4258 y = 16 X = 5.2070 y = 17 Y = 4.2129 y = 18 X = 2.6035 y = 19 Y = 2.1064 y = 20 X = 1.3018 y = 21 Y = 1.0532 y = 22 X = 0.6509 y = 23 Y = 0.5266 y = 24

80   Pass
assert(isequal(number_of_folds(2793,2667),24))

y = 0 X = 1.3965e+03 y = 1 Y = 1.3335e+03 y = 2 X = 698.2500 y = 3 Y = 666.7500 y = 4 X = 349.1250 y = 5 Y = 333.3750 y = 6 X = 174.5625 y = 7 Y = 166.6875 y = 8 X = 87.2812 y = 9 Y = 83.3438 y = 10 X = 43.6406 y = 11 Y = 41.6719 y = 12 X = 21.8203 y = 13 Y = 20.8359 y = 14 X = 10.9102 y = 15 Y = 10.4180 y = 16 X = 5.4551 y = 17 Y = 5.2090 y = 18 X = 2.7275 y = 19 Y = 2.6045 y = 20 X = 1.3638 y = 21 Y = 1.3022 y = 22 X = 0.6819 y = 23 Y = 0.6511 y = 24

81   Pass
assert(isequal(number_of_folds(713,513),20))

y = 0 X = 356.5000 y = 1 Y = 256.5000 y = 2 X = 178.2500 y = 3 Y = 128.2500 y = 4 X = 89.1250 y = 5 Y = 64.1250 y = 6 X = 44.5625 y = 7 Y = 32.0625 y = 8 X = 22.2812 y = 9 Y = 16.0312 y = 10 X = 11.1406 y = 11 Y = 8.0156 y = 12 X = 5.5703 y = 13 Y = 4.0078 y = 14 X = 2.7852 y = 15 Y = 2.0039 y = 16 X = 1.3926 y = 17 Y = 1.0020 y = 18 X = 0.6963 y = 19 Y = 0.5010 y = 20

82   Pass
assert(isequal(number_of_folds(3997,685),22))

y = 0 X = 1.9985e+03 y = 1 X = 999.2500 y = 2 X = 499.6250 y = 3 Y = 342.5000 y = 4 X = 249.8125 y = 5 Y = 171.2500 y = 6 X = 124.9062 y = 7 Y = 85.6250 y = 8 X = 62.4531 y = 9 Y = 42.8125 y = 10 X = 31.2266 y = 11 Y = 21.4062 y = 12 X = 15.6133 y = 13 Y = 10.7031 y = 14 X = 7.8066 y = 15 Y = 5.3516 y = 16 X = 3.9033 y = 17 Y = 2.6758 y = 18 X = 1.9517 y = 19 Y = 1.3379 y = 20 X = 0.9758 y = 21 Y = 0.6689 y = 22

83   Pass
assert(isequal(number_of_folds(131,2245),20))

y = 0 Y = 1.1225e+03 y = 1 Y = 561.2500 y = 2 Y = 280.6250 y = 3 Y = 140.3125 y = 4 Y = 70.1562 y = 5 X = 65.5000 y = 6 Y = 35.0781 y = 7 X = 32.7500 y = 8 Y = 17.5391 y = 9 X = 16.3750 y = 10 Y = 8.7695 y = 11 X = 8.1875 y = 12 Y = 4.3848 y = 13 X = 4.0938 y = 14 Y = 2.1924 y = 15 X = 2.0469 y = 16 Y = 1.0962 y = 17 X = 1.0234 y = 18 Y = 0.5481 y = 19 X = 0.5117 y = 20

84   Pass
assert(isequal(number_of_folds(3528,2677),24))

y = 0 X = 1764 y = 1 Y = 1.3385e+03 y = 2 X = 882 y = 3 Y = 669.2500 y = 4 X = 441 y = 5 Y = 334.6250 y = 6 X = 220.5000 y = 7 Y = 167.3125 y = 8 X = 110.2500 y = 9 Y = 83.6562 y = 10 X = 55.1250 y = 11 Y = 41.8281 y = 12 X = 27.5625 y = 13 Y = 20.9141 y = 14 X = 13.7812 y = 15 Y = 10.4570 y = 16 X = 6.8906 y = 17 Y = 5.2285 y = 18 X = 3.4453 y = 19 Y = 2.6143 y = 20 X = 1.7227 y = 21 Y = 1.3071 y = 22 X = 0.8613 y = 23 Y = 0.6536 y = 24

85   Pass
assert(isequal(number_of_folds(762,1476),21))

y = 0 Y = 738 y = 1 X = 381 y = 2 Y = 369 y = 3 X = 190.5000 y = 4 Y = 184.5000 y = 5 X = 95.2500 y = 6 Y = 92.2500 y = 7 X = 47.6250 y = 8 Y = 46.1250 y = 9 X = 23.8125 y = 10 Y = 23.0625 y = 11 X = 11.9062 y = 12 Y = 11.5312 y = 13 X = 5.9531 y = 14 Y = 5.7656 y = 15 X = 2.9766 y = 16 Y = 2.8828 y = 17 X = 1.4883 y = 18 Y = 1.4414 y = 19 X = 0.7441 y = 20 Y = 0.7207 y = 21

86   Pass
assert(isequal(number_of_folds(1843,3927),23))

y = 0 Y = 1.9635e+03 y = 1 Y = 981.7500 y = 2 X = 921.5000 y = 3 Y = 490.8750 y = 4 X = 460.7500 y = 5 Y = 245.4375 y = 6 X = 230.3750 y = 7 Y = 122.7188 y = 8 X = 115.1875 y = 9 Y = 61.3594 y = 10 X = 57.5938 y = 11 Y = 30.6797 y = 12 X = 28.7969 y = 13 Y = 15.3398 y = 14 X = 14.3984 y = 15 Y = 7.6699 y = 16 X = 7.1992 y = 17 Y = 3.8350 y = 18 X = 3.5996 y = 19 Y = 1.9175 y = 20 X = 1.7998 y = 21 Y = 0.9587 y = 22 X = 0.8999 y = 23

87   Pass
assert(isequal(number_of_folds(626,3423),22))

y = 0 Y = 1.7115e+03 y = 1 Y = 855.7500 y = 2 Y = 427.8750 y = 3 X = 313 y = 4 Y = 213.9375 y = 5 X = 156.5000 y = 6 Y = 106.9688 y = 7 X = 78.2500 y = 8 Y = 53.4844 y = 9 X = 39.1250 y = 10 Y = 26.7422 y = 11 X = 19.5625 y = 12 Y = 13.3711 y = 13 X = 9.7812 y = 14 Y = 6.6855 y = 15 X = 4.8906 y = 16 Y = 3.3428 y = 17 X = 2.4453 y = 18 Y = 1.6714 y = 19 X = 1.2227 y = 20 Y = 0.8357 y = 21 X = 0.6113 y = 22

88   Pass
assert(isequal(number_of_folds(2580,1506),23))

y = 0 X = 1290 y = 1 Y = 753 y = 2 X = 645 y = 3 Y = 376.5000 y = 4 X = 322.5000 y = 5 Y = 188.2500 y = 6 X = 161.2500 y = 7 Y = 94.1250 y = 8 X = 80.6250 y = 9 Y = 47.0625 y = 10 X = 40.3125 y = 11 Y = 23.5312 y = 12 X = 20.1562 y = 13 Y = 11.7656 y = 14 X = 10.0781 y = 15 Y = 5.8828 y = 16 X = 5.0391 y = 17 Y = 2.9414 y = 18 X = 2.5195 y = 19 Y = 1.4707 y = 20 X = 1.2598 y = 21 Y = 0.7354 y = 22 X = 0.6299 y = 23

89   Pass
assert(isequal(number_of_folds(764,1714),21))

y = 0 Y = 857 y = 1 Y = 428.5000 y = 2 X = 382 y = 3 Y = 214.2500 y = 4 X = 191 y = 5 Y = 107.1250 y = 6 X = 95.5000 y = 7 Y = 53.5625 y = 8 X = 47.7500 y = 9 Y = 26.7812 y = 10 X = 23.8750 y = 11 Y = 13.3906 y = 12 X = 11.9375 y = 13 Y = 6.6953 y = 14 X = 5.9688 y = 15 Y = 3.3477 y = 16 X = 2.9844 y = 17 Y = 1.6738 y = 18 X = 1.4922 y = 19 Y = 0.8369 y = 20 X = 0.7461 y = 21

90   Pass
assert(isequal(number_of_folds(1929,483),20))

y = 0 X = 964.5000 y = 1 X = 482.2500 y = 2 Y = 241.5000 y = 3 X = 241.1250 y = 4 Y = 120.7500 y = 5 X = 120.5625 y = 6 Y = 60.3750 y = 7 X = 60.2812 y = 8 Y = 30.1875 y = 9 X = 30.1406 y = 10 Y = 15.0938 y = 11 X = 15.0703 y = 12 Y = 7.5469 y = 13 X = 7.5352 y = 14 Y = 3.7734 y = 15 X = 3.7676 y = 16 Y = 1.8867 y = 17 X = 1.8838 y = 18 Y = 0.9434 y = 19 X = 0.9419 y = 20

91   Pass
assert(isequal(number_of_folds(2359,905),22))

y = 0 X = 1.1795e+03 y = 1 X = 589.7500 y = 2 Y = 452.5000 y = 3 X = 294.8750 y = 4 Y = 226.2500 y = 5 X = 147.4375 y = 6 Y = 113.1250 y = 7 X = 73.7188 y = 8 Y = 56.5625 y = 9 X = 36.8594 y = 10 Y = 28.2812 y = 11 X = 18.4297 y = 12 Y = 14.1406 y = 13 X = 9.2148 y = 14 Y = 7.0703 y = 15 X = 4.6074 y = 16 Y = 3.5352 y = 17 X = 2.3037 y = 18 Y = 1.7676 y = 19 X = 1.1519 y = 20 Y = 0.8838 y = 21 X = 0.5759 y = 22

92   Pass
assert(isequal(number_of_folds(1539,2332),23))

y = 0 Y = 1166 y = 1 X = 769.5000 y = 2 Y = 583 y = 3 X = 384.7500 y = 4 Y = 291.5000 y = 5 X = 192.3750 y = 6 Y = 145.7500 y = 7 X = 96.1875 y = 8 Y = 72.8750 y = 9 X = 48.0938 y = 10 Y = 36.4375 y = 11 X = 24.0469 y = 12 Y = 18.2188 y = 13 X = 12.0234 y = 14 Y = 9.1094 y = 15 X = 6.0117 y = 16 Y = 4.5547 y = 17 X = 3.0059 y = 18 Y = 2.2773 y = 19 X = 1.5029 y = 20 Y = 1.1387 y = 21 X = 0.7515 y = 22 Y = 0.5693 y = 23

93   Pass
assert(isequal(number_of_folds(1008,1162),21))

y = 0 Y = 581 y = 1 X = 504 y = 2 Y = 290.5000 y = 3 X = 252 y = 4 Y = 145.2500 y = 5 X = 126 y = 6 Y = 72.6250 y = 7 X = 63 y = 8 Y = 36.3125 y = 9 X = 31.5000 y = 10 Y = 18.1562 y = 11 X = 15.7500 y = 12 Y = 9.0781 y = 13 X = 7.8750 y = 14 Y = 4.5391 y = 15 X = 3.9375 y = 16 Y = 2.2695 y = 17 X = 1.9688 y = 18 Y = 1.1348 y = 19 X = 0.9844 y = 20 Y = 0.5674 y = 21

94   Pass
assert(isequal(number_of_folds(2469,1062),23))

y = 0 X = 1.2345e+03 y = 1 X = 617.2500 y = 2 Y = 531 y = 3 X = 308.6250 y = 4 Y = 265.5000 y = 5 X = 154.3125 y = 6 Y = 132.7500 y = 7 X = 77.1562 y = 8 Y = 66.3750 y = 9 X = 38.5781 y = 10 Y = 33.1875 y = 11 X = 19.2891 y = 12 Y = 16.5938 y = 13 X = 9.6445 y = 14 Y = 8.2969 y = 15 X = 4.8223 y = 16 Y = 4.1484 y = 17 X = 2.4111 y = 18 Y = 2.0742 y = 19 X = 1.2056 y = 20 Y = 1.0371 y = 21 X = 0.6028 y = 22 Y = 0.5186 y = 23

95   Pass
assert(isequal(number_of_folds(15,15),8))

y = 0 X = 7.5000 y = 1 Y = 7.5000 y = 2 X = 3.7500 y = 3 Y = 3.7500 y = 4 X = 1.8750 y = 5 Y = 1.8750 y = 6 X = 0.9375 y = 7 Y = 0.9375 y = 8

96   Pass
assert(isequal(number_of_folds(3298,3931),24))

y = 0 Y = 1.9655e+03 y = 1 X = 1649 y = 2 Y = 982.7500 y = 3 X = 824.5000 y = 4 Y = 491.3750 y = 5 X = 412.2500 y = 6 Y = 245.6875 y = 7 X = 206.1250 y = 8 Y = 122.8438 y = 9 X = 103.0625 y = 10 Y = 61.4219 y = 11 X = 51.5312 y = 12 Y = 30.7109 y = 13 X = 25.7656 y = 14 Y = 15.3555 y = 15 X = 12.8828 y = 16 Y = 7.6777 y = 17 X = 6.4414 y = 18 Y = 3.8389 y = 19 X = 3.2207 y = 20 Y = 1.9194 y = 21 X = 1.6104 y = 22 Y = 0.9597 y = 23 X = 0.8052 y = 24

97   Pass
assert(isequal(number_of_folds(2921,1376),23))

y = 0 X = 1.4605e+03 y = 1 X = 730.2500 y = 2 Y = 688 y = 3 X = 365.1250 y = 4 Y = 344 y = 5 X = 182.5625 y = 6 Y = 172 y = 7 X = 91.2812 y = 8 Y = 86 y = 9 X = 45.6406 y = 10 Y = 43 y = 11 X = 22.8203 y = 12 Y = 21.5000 y = 13 X = 11.4102 y = 14 Y = 10.7500 y = 15 X = 5.7051 y = 16 Y = 5.3750 y = 17 X = 2.8525 y = 18 Y = 2.6875 y = 19 X = 1.4263 y = 20 Y = 1.3438 y = 21 X = 0.7131 y = 22 Y = 0.6719 y = 23

98   Pass
assert(isequal(number_of_folds(2337,432),21))

y = 0 X = 1.1685e+03 y = 1 X = 584.2500 y = 2 X = 292.1250 y = 3 Y = 216 y = 4 X = 146.0625 y = 5 Y = 108 y = 6 X = 73.0312 y = 7 Y = 54 y = 8 X = 36.5156 y = 9 Y = 27 y = 10 X = 18.2578 y = 11 Y = 13.5000 y = 12 X = 9.1289 y = 13 Y = 6.7500 y = 14 X = 4.5645 y = 15 Y = 3.3750 y = 16 X = 2.2822 y = 17 Y = 1.6875 y = 18 X = 1.1411 y = 19 Y = 0.8438 y = 20 X = 0.5706 y = 21

99   Pass
assert(isequal(number_of_folds(3626,3519),24))

y = 0 X = 1813 y = 1 Y = 1.7595e+03 y = 2 X = 906.5000 y = 3 Y = 879.7500 y = 4 X = 453.2500 y = 5 Y = 439.8750 y = 6 X = 226.6250 y = 7 Y = 219.9375 y = 8 X = 113.3125 y = 9 Y = 109.9688 y = 10 X = 56.6562 y = 11 Y = 54.9844 y = 12 X = 28.3281 y = 13 Y = 27.4922 y = 14 X = 14.1641 y = 15 Y = 13.7461 y = 16 X = 7.0820 y = 17 Y = 6.8730 y = 18 X = 3.5410 y = 19 Y = 3.4365 y = 20 X = 1.7705 y = 21 Y = 1.7183 y = 22 X = 0.8853 y = 23 Y = 0.8591 y = 24

100   Pass
assert(isequal(number_of_folds(3272,1043),23))

y = 0 X = 1636 y = 1 X = 818 y = 2 Y = 521.5000 y = 3 X = 409 y = 4 Y = 260.7500 y = 5 X = 204.5000 y = 6 Y = 130.3750 y = 7 X = 102.2500 y = 8 Y = 65.1875 y = 9 X = 51.1250 y = 10 Y = 32.5938 y = 11 X = 25.5625 y = 12 Y = 16.2969 y = 13 X = 12.7812 y = 14 Y = 8.1484 y = 15 X = 6.3906 y = 16 Y = 4.0742 y = 17 X = 3.1953 y = 18 Y = 2.0371 y = 19 X = 1.5977 y = 20 Y = 1.0186 y = 21 X = 0.7988 y = 22 Y = 0.5093 y = 23

101   Pass
assert(isequal(number_of_folds(3,2),4))

y = 0 X = 1.5000 y = 1 Y = 1 y = 2 X = 0.7500 y = 3 Y = 0.5000 y = 4

102   Pass
assert(isequal(number_of_folds(2378,91),19))

y = 0 X = 1189 y = 1 X = 594.5000 y = 2 X = 297.2500 y = 3 X = 148.6250 y = 4 X = 74.3125 y = 5 Y = 45.5000 y = 6 X = 37.1562 y = 7 Y = 22.7500 y = 8 X = 18.5781 y = 9 Y = 11.3750 y = 10 X = 9.2891 y = 11 Y = 5.6875 y = 12 X = 4.6445 y = 13 Y = 2.8438 y = 14 X = 2.3223 y = 15 Y = 1.4219 y = 16 X = 1.1611 y = 17 Y = 0.7109 y = 18 X = 0.5806 y = 19

103   Pass
assert(isequal(number_of_folds(1702,1251),22))

y = 0 X = 851 y = 1 Y = 625.5000 y = 2 X = 425.5000 y = 3 Y = 312.7500 y = 4 X = 212.7500 y = 5 Y = 156.3750 y = 6 X = 106.3750 y = 7 Y = 78.1875 y = 8 X = 53.1875 y = 9 Y = 39.0938 y = 10 X = 26.5938 y = 11 Y = 19.5469 y = 12 X = 13.2969 y = 13 Y = 9.7734 y = 14 X = 6.6484 y = 15 Y = 4.8867 y = 16 X = 3.3242 y = 17 Y = 2.4434 y = 18 X = 1.6621 y = 19 Y = 1.2217 y = 20 X = 0.8311 y = 21 Y = 0.6108 y = 22

104   Pass
assert(isequal(number_of_folds(646,716),20))

y = 0 Y = 358 y = 1 X = 323 y = 2 Y = 179 y = 3 X = 161.5000 y = 4 Y = 89.5000 y = 5 X = 80.7500 y = 6 Y = 44.7500 y = 7 X = 40.3750 y = 8 Y = 22.3750 y = 9 X = 20.1875 y = 10 Y = 11.1875 y = 11 X = 10.0938 y = 12 Y = 5.5938 y = 13 X = 5.0469 y = 14 Y = 2.7969 y = 15 X = 2.5234 y = 16 Y = 1.3984 y = 17 X = 1.2617 y = 18 Y = 0.6992 y = 19 X = 0.6309 y = 20

105   Pass
assert(isequal(number_of_folds(1692,377),20))

y = 0 X = 846 y = 1 X = 423 y = 2 X = 211.5000 y = 3 Y = 188.5000 y = 4 X = 105.7500 y = 5 Y = 94.2500 y = 6 X = 52.8750 y = 7 Y = 47.1250 y = 8 X = 26.4375 y = 9 Y = 23.5625 y = 10 X = 13.2188 y = 11 Y = 11.7812 y = 12 X = 6.6094 y = 13 Y = 5.8906 y = 14 X = 3.3047 y = 15 Y = 2.9453 y = 16 X = 1.6523 y = 17 Y = 1.4727 y = 18 X = 0.8262 y = 19 Y = 0.7363 y = 20

106   Pass
assert(isequal(number_of_folds(16,15),9))

y = 0 X = 8 y = 1 Y = 7.5000 y = 2 X = 4 y = 3 Y = 3.7500 y = 4 X = 2 y = 5 Y = 1.8750 y = 6 X = 1 y = 7 Y = 0.9375 y = 8 X = 0.5000 y = 9

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!