Cody

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

Solution 3222738

Submitted on 15 Oct 2020 by Ashish Jaiswal
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))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

i = 1 Y = 0.5000 i = 2 y = 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

i = 1 X = 1.5000 i = 2 Y = 1 i = 3 X = 0.7500 i = 4 y = 4

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

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

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

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

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

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

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

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

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

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