Cody

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

Solution 2530716

Submitted on 12 Jun 2020 by Antoni Prus
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))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

n = 0 Y = 0.5000 n = 1 y = 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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