Cody

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

Solution 2208214

Submitted on 13 Apr 2020 by Danielle Jackson
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))

X = 1.6235e+03 Y = 1066 X = 811.7500 Y = 533 X = 405.8750 Y = 266.5000 X = 202.9375 Y = 133.2500 X = 101.4688 Y = 66.6250 X = 50.7344 Y = 33.3125 X = 25.3672 Y = 16.6562 X = 12.6836 Y = 8.3281 X = 6.3418 Y = 4.1641 X = 3.1709 Y = 2.0820 X = 1.5854 Y = 1.0410 X = 0.7927 y = 24

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

Y = 1.8785e+03 Y = 939.2500 X = 701.5000 Y = 469.6250 X = 350.7500 Y = 234.8125 X = 175.3750 Y = 117.4062 X = 87.6875 Y = 58.7031 X = 43.8438 Y = 29.3516 X = 21.9219 Y = 14.6758 X = 10.9609 Y = 7.3379 X = 5.4805 Y = 3.6689 X = 2.7402 Y = 1.8345 X = 1.3701 Y = 0.9172 X = 0.6851 y = 23

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

X = 1752 Y = 1.1005e+03 X = 876 Y = 550.2500 X = 438 Y = 275.1250 X = 219 Y = 137.5625 X = 109.5000 Y = 68.7812 X = 54.7500 Y = 34.3906 X = 27.3750 Y = 17.1953 X = 13.6875 Y = 8.5977 X = 6.8438 Y = 4.2988 X = 3.4219 Y = 2.1494 X = 1.7109 Y = 1.0747 X = 0.8555 y = 24

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

X = 1245 Y = 1.1745e+03 X = 622.5000 Y = 587.2500 X = 311.2500 Y = 293.6250 X = 155.6250 Y = 146.8125 X = 77.8125 Y = 73.4062 X = 38.9062 Y = 36.7031 X = 19.4531 Y = 18.3516 X = 9.7266 Y = 9.1758 X = 4.8633 Y = 4.5879 X = 2.4316 Y = 2.2939 X = 1.2158 Y = 1.1470 X = 0.6079 y = 24

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

Y = 602.5000 X = 415.5000 Y = 301.2500 X = 207.7500 Y = 150.6250 X = 103.8750 Y = 75.3125 X = 51.9375 Y = 37.6562 X = 25.9688 Y = 18.8281 X = 12.9844 Y = 9.4141 X = 6.4922 Y = 4.7070 X = 3.2461 Y = 2.3535 X = 1.6230 Y = 1.1768 X = 0.8115 y = 21

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

X = 942 X = 471 Y = 461 X = 235.5000 Y = 230.5000 X = 117.7500 Y = 115.2500 X = 58.8750 Y = 57.6250 X = 29.4375 Y = 28.8125 X = 14.7188 Y = 14.4062 X = 7.3594 Y = 7.2031 X = 3.6797 Y = 3.6016 X = 1.8398 Y = 1.8008 X = 0.9199 Y = 0.9004 y = 21

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

Y = 2 X = 1 Y = 1 X = 0.5000 y = 5

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

X = 1689 X = 844.5000 X = 422.2500 Y = 390 X = 211.1250 Y = 195 X = 105.5625 Y = 97.5000 X = 52.7812 Y = 48.7500 X = 26.3906 Y = 24.3750 X = 13.1953 Y = 12.1875 X = 6.5977 Y = 6.0938 X = 3.2988 Y = 3.0469 X = 1.6494 Y = 1.5234 X = 0.8247 Y = 0.7617 y = 22

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

X = 452 Y = 341.5000 X = 226 Y = 170.7500 X = 113 Y = 85.3750 X = 56.5000 Y = 42.6875 X = 28.2500 Y = 21.3438 X = 14.1250 Y = 10.6719 X = 7.0625 Y = 5.3359 X = 3.5312 Y = 2.6680 X = 1.7656 Y = 1.3340 X = 0.8828 Y = 0.6670 y = 20

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

Y = 871.5000 X = 455.5000 Y = 435.7500 X = 227.7500 Y = 217.8750 X = 113.8750 Y = 108.9375 X = 56.9375 Y = 54.4688 X = 28.4688 Y = 27.2344 X = 14.2344 Y = 13.6172 X = 7.1172 Y = 6.8086 X = 3.5586 Y = 3.4043 X = 1.7793 Y = 1.7021 X = 0.8896 Y = 0.8511 y = 21

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

Y = 1847 Y = 923.5000 X = 622.5000 Y = 461.7500 X = 311.2500 Y = 230.8750 X = 155.6250 Y = 115.4375 X = 77.8125 Y = 57.7188 X = 38.9062 Y = 28.8594 X = 19.4531 Y = 14.4297 X = 9.7266 Y = 7.2148 X = 4.8633 Y = 3.6074 X = 2.4316 Y = 1.8037 X = 1.2158 Y = 0.9019 X = 0.6079 y = 23

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

X = 860.5000 X = 430.2500 Y = 370 X = 215.1250 Y = 185 X = 107.5625 Y = 92.5000 X = 53.7812 Y = 46.2500 X = 26.8906 Y = 23.1250 X = 13.4453 Y = 11.5625 X = 6.7227 Y = 5.7812 X = 3.3613 Y = 2.8906 X = 1.6807 Y = 1.4453 X = 0.8403 Y = 0.7227 y = 21

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

Y = 1.9595e+03 X = 1810 Y = 979.7500 X = 905 Y = 489.8750 X = 452.5000 Y = 244.9375 X = 226.2500 Y = 122.4688 X = 113.1250 Y = 61.2344 X = 56.5625 Y = 30.6172 X = 28.2812 Y = 15.3086 X = 14.1406 Y = 7.6543 X = 7.0703 Y = 3.8271 X = 3.5352 Y = 1.9136 X = 1.7676 Y = 0.9568 X = 0.8838 y = 24

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

X = 878 X = 439 Y = 222.5000 X = 219.5000 Y = 111.2500 X = 109.7500 Y = 55.6250 X = 54.8750 Y = 27.8125 X = 27.4375 Y = 13.9062 X = 13.7188 Y = 6.9531 X = 6.8594 Y = 3.4766 X = 3.4297 Y = 1.7383 X = 1.7148 Y = 0.8691 X = 0.8574 y = 20

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

Y = 817.5000 X = 516.5000 Y = 408.7500 X = 258.2500 Y = 204.3750 X = 129.1250 Y = 102.1875 X = 64.5625 Y = 51.0938 X = 32.2812 Y = 25.5469 X = 16.1406 Y = 12.7734 X = 8.0703 Y = 6.3867 X = 4.0352 Y = 3.1934 X = 2.0176 Y = 1.5967 X = 1.0088 Y = 0.7983 y = 22

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

X = 1190 X = 595 Y = 524.5000 X = 297.5000 Y = 262.2500 X = 148.7500 Y = 131.1250 X = 74.3750 Y = 65.5625 X = 37.1875 Y = 32.7812 X = 18.5938 Y = 16.3906 X = 9.2969 Y = 8.1953 X = 4.6484 Y = 4.0977 X = 2.3242 Y = 2.0488 X = 1.1621 Y = 1.0244 X = 0.5811 y = 23

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

Y = 1.4225e+03 X = 1206 Y = 711.2500 X = 603 Y = 355.6250 X = 301.5000 Y = 177.8125 X = 150.7500 Y = 88.9062 X = 75.3750 Y = 44.4531 X = 37.6875 Y = 22.2266 X = 18.8438 Y = 11.1133 X = 9.4219 Y = 5.5566 X = 4.7109 Y = 2.7783 X = 2.3555 Y = 1.3892 X = 1.1777 Y = 0.6946 y = 24

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

X = 443.5000 Y = 235 X = 221.7500 Y = 117.5000 X = 110.8750 Y = 58.7500 X = 55.4375 Y = 29.3750 X = 27.7188 Y = 14.6875 X = 13.8594 Y = 7.3438 X = 6.9297 Y = 3.6719 X = 3.4648 Y = 1.8359 X = 1.7324 Y = 0.9180 X = 0.8662 y = 19

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

Y = 638 X = 593.5000 Y = 319 X = 296.7500 Y = 159.5000 X = 148.3750 Y = 79.7500 X = 74.1875 Y = 39.8750 X = 37.0938 Y = 19.9375 X = 18.5469 Y = 9.9688 X = 9.2734 Y = 4.9844 X = 4.6367 Y = 2.4922 X = 2.3184 Y = 1.2461 X = 1.1592 Y = 0.6230 y = 22

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

Y = 1016 X = 848.5000 Y = 508 X = 424.2500 Y = 254 X = 212.1250 Y = 127 X = 106.0625 Y = 63.5000 X = 53.0312 Y = 31.7500 X = 26.5156 Y = 15.8750 X = 13.2578 Y = 7.9375 X = 6.6289 Y = 3.9688 X = 3.3145 Y = 1.9844 X = 1.6572 Y = 0.9922 X = 0.8286 y = 22

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

Y = 525 Y = 262.5000 X = 171.5000 Y = 131.2500 X = 85.7500 Y = 65.6250 X = 42.8750 Y = 32.8125 X = 21.4375 Y = 16.4062 X = 10.7188 Y = 8.2031 X = 5.3594 Y = 4.1016 X = 2.6797 Y = 2.0508 X = 1.3398 Y = 1.0254 X = 0.6699 y = 20

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

X = 1.6025e+03 X = 801.2500 X = 400.6250 X = 200.3125 X = 100.1562 Y = 58.5000 X = 50.0781 Y = 29.2500 X = 25.0391 Y = 14.6250 X = 12.5195 Y = 7.3125 X = 6.2598 Y = 3.6562 X = 3.1299 Y = 1.8281 X = 1.5649 Y = 0.9141 X = 0.7825 y = 19

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

X = 1858 Y = 1461 X = 929 Y = 730.5000 X = 464.5000 Y = 365.2500 X = 232.2500 Y = 182.6250 X = 116.1250 Y = 91.3125 X = 58.0625 Y = 45.6562 X = 29.0312 Y = 22.8281 X = 14.5156 Y = 11.4141 X = 7.2578 Y = 5.7070 X = 3.6289 Y = 2.8535 X = 1.8145 Y = 1.4268 X = 0.9072 Y = 0.7134 y = 24

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

Y = 1.1575e+03 X = 977.5000 Y = 578.7500 X = 488.7500 Y = 289.3750 X = 244.3750 Y = 144.6875 X = 122.1875 Y = 72.3438 X = 61.0938 Y = 36.1719 X = 30.5469 Y = 18.0859 X = 15.2734 Y = 9.0430 X = 7.6367 Y = 4.5215 X = 3.8184 Y = 2.2607 X = 1.9092 Y = 1.1304 X = 0.9546 Y = 0.5652 y = 23

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

Y = 918 X = 475 Y = 459 X = 237.5000 Y = 229.5000 X = 118.7500 Y = 114.7500 X = 59.3750 Y = 57.3750 X = 29.6875 Y = 28.6875 X = 14.8438 Y = 14.3438 X = 7.4219 Y = 7.1719 X = 3.7109 Y = 3.5859 X = 1.8555 Y = 1.7930 X = 0.9277 Y = 0.8965 y = 21

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

X = 1.9265e+03 Y = 1094 X = 963.2500 Y = 547 X = 481.6250 Y = 273.5000 X = 240.8125 Y = 136.7500 X = 120.4062 Y = 68.3750 X = 60.2031 Y = 34.1875 X = 30.1016 Y = 17.0938 X = 15.0508 Y = 8.5469 X = 7.5254 Y = 4.2734 X = 3.7627 Y = 2.1367 X = 1.8813 Y = 1.0684 X = 0.9407 Y = 0.5342 y = 24

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

X = 1.0425e+03 X = 521.2500 Y = 463.5000 X = 260.6250 Y = 231.7500 X = 130.3125 Y = 115.8750 X = 65.1562 Y = 57.9375 X = 32.5781 Y = 28.9688 X = 16.2891 Y = 14.4844 X = 8.1445 Y = 7.2422 X = 4.0723 Y = 3.6211 X = 2.0361 Y = 1.8105 X = 1.0181 Y = 0.9053 y = 22

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

Y = 1.2485e+03 X = 978 Y = 624.2500 X = 489 Y = 312.1250 X = 244.5000 Y = 156.0625 X = 122.2500 Y = 78.0312 X = 61.1250 Y = 39.0156 X = 30.5625 Y = 19.5078 X = 15.2812 Y = 9.7539 X = 7.6406 Y = 4.8770 X = 3.8203 Y = 2.4385 X = 1.9102 Y = 1.2192 X = 0.9551 Y = 0.6096 y = 23

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

X = 1.3585e+03 Y = 791.5000 X = 679.2500 Y = 395.7500 X = 339.6250 Y = 197.8750 X = 169.8125 Y = 98.9375 X = 84.9062 Y = 49.4688 X = 42.4531 Y = 24.7344 X = 21.2266 Y = 12.3672 X = 10.6133 Y = 6.1836 X = 5.3066 Y = 3.0918 X = 2.6533 Y = 1.5459 X = 1.3267 Y = 0.7729 X = 0.6633 y = 23

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

Y = 1976 Y = 988 X = 735 Y = 494 X = 367.5000 Y = 247 X = 183.7500 Y = 123.5000 X = 91.8750 Y = 61.7500 X = 45.9375 Y = 30.8750 X = 22.9688 Y = 15.4375 X = 11.4844 Y = 7.7188 X = 5.7422 Y = 3.8594 X = 2.8711 Y = 1.9297 X = 1.4355 Y = 0.9648 X = 0.7178 y = 23

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

Y = 1.7705e+03 Y = 885.2500 Y = 442.6250 Y = 221.3125 Y = 110.6562 X = 75.5000 Y = 55.3281 X = 37.7500 Y = 27.6641 X = 18.8750 Y = 13.8320 X = 9.4375 Y = 6.9160 X = 4.7188 Y = 3.4580 X = 2.3594 Y = 1.7290 X = 1.1797 Y = 0.8645 X = 0.5898 y = 20

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

X = 1827 Y = 1.5925e+03 X = 913.5000 Y = 796.2500 X = 456.7500 Y = 398.1250 X = 228.3750 Y = 199.0625 X = 114.1875 Y = 99.5312 X = 57.0938 Y = 49.7656 X = 28.5469 Y = 24.8828 X = 14.2734 Y = 12.4414 X = 7.1367 Y = 6.2207 X = 3.5684 Y = 3.1104 X = 1.7842 Y = 1.5552 X = 0.8921 Y = 0.7776 y = 24

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

Y = 524 Y = 262 X = 197.5000 Y = 131 X = 98.7500 Y = 65.5000 X = 49.3750 Y = 32.7500 X = 24.6875 Y = 16.3750 X = 12.3438 Y = 8.1875 X = 6.1719 Y = 4.0938 X = 3.0859 Y = 2.0469 X = 1.5430 Y = 1.0234 X = 0.7715 y = 20

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

Y = 1.3595e+03 Y = 679.7500 X = 671 Y = 339.8750 X = 335.5000 Y = 169.9375 X = 167.7500 Y = 84.9688 X = 83.8750 Y = 42.4844 X = 41.9375 Y = 21.2422 X = 20.9688 Y = 10.6211 X = 10.4844 Y = 5.3105 X = 5.2422 Y = 2.6553 X = 2.6211 Y = 1.3276 X = 1.3105 Y = 0.6638 y = 23

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

Y = 1.4425e+03 Y = 721.2500 Y = 360.6250 X = 273.5000 Y = 180.3125 X = 136.7500 Y = 90.1562 X = 68.3750 Y = 45.0781 X = 34.1875 Y = 22.5391 X = 17.0938 Y = 11.2695 X = 8.5469 Y = 5.6348 X = 4.2734 Y = 2.8174 X = 2.1367 Y = 1.4087 X = 1.0684 Y = 0.7043 y = 22

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

Y = 1308 Y = 654 Y = 327 X = 214 Y = 163.5000 X = 107 Y = 81.7500 X = 53.5000 Y = 40.8750 X = 26.7500 Y = 20.4375 X = 13.3750 Y = 10.2188 X = 6.6875 Y = 5.1094 X = 3.3438 Y = 2.5547 X = 1.6719 Y = 1.2773 X = 0.8359 Y = 0.6387 y = 21

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

Y = 1.5585e+03 X = 988.5000 Y = 779.2500 X = 494.2500 Y = 389.6250 X = 247.1250 Y = 194.8125 X = 123.5625 Y = 97.4062 X = 61.7812 Y = 48.7031 X = 30.8906 Y = 24.3516 X = 15.4453 Y = 12.1758 X = 7.7227 Y = 6.0879 X = 3.8613 Y = 3.0439 X = 1.9307 Y = 1.5220 X = 0.9653 Y = 0.7610 y = 23

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

Y = 1.8075e+03 X = 1.4305e+03 Y = 903.7500 X = 715.2500 Y = 451.8750 X = 357.6250 Y = 225.9375 X = 178.8125 Y = 112.9688 X = 89.4062 Y = 56.4844 X = 44.7031 Y = 28.2422 X = 22.3516 Y = 14.1211 X = 11.1758 Y = 7.0605 X = 5.5879 Y = 3.5303 X = 2.7939 Y = 1.7651 X = 1.3970 Y = 0.8826 X = 0.6985 y = 24

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

X = 1782 X = 891 Y = 668.5000 X = 445.5000 Y = 334.2500 X = 222.7500 Y = 167.1250 X = 111.3750 Y = 83.5625 X = 55.6875 Y = 41.7812 X = 27.8438 Y = 20.8906 X = 13.9219 Y = 10.4453 X = 6.9609 Y = 5.2227 X = 3.4805 Y = 2.6113 X = 1.7402 Y = 1.3057 X = 0.8701 Y = 0.6528 y = 23

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

Y = 2000 Y = 1000 Y = 500 Y = 250 Y = 125 Y = 62.5000 Y = 31.2500 Y = 15.6250 Y = 7.8125 Y = 3.9062 Y = 1.9531 Y = 0.9766 y = 13

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

X = 1.3975e+03 X = 698.7500 Y = 396 X = 349.3750 Y = 198 X = 174.6875 Y = 99 X = 87.3438 Y = 49.5000 X = 43.6719 Y = 24.7500 X = 21.8359 Y = 12.3750 X = 10.9180 Y = 6.1875 X = 5.4590 Y = 3.0938 X = 2.7295 Y = 1.5469 X = 1.3647 Y = 0.7734 X = 0.6824 y = 22

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

Y = 1.4885e+03 Y = 744.2500 Y = 372.1250 Y = 186.0625 Y = 93.0312 X = 61.5000 Y = 46.5156 X = 30.7500 Y = 23.2578 X = 15.3750 Y = 11.6289 X = 7.6875 Y = 5.8145 X = 3.8438 Y = 2.9072 X = 1.9219 Y = 1.4536 X = 0.9609 Y = 0.7268 y = 19

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

X = 1.0005e+03 Y = 960 X = 500.2500 Y = 480 X = 250.1250 Y = 240 X = 125.0625 Y = 120 X = 62.5312 Y = 60 X = 31.2656 Y = 30 X = 15.6328 Y = 15 X = 7.8164 Y = 7.5000 X = 3.9082 Y = 3.7500 X = 1.9541 Y = 1.8750 X = 0.9771 Y = 0.9375 y = 22

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

X = 1.8095e+03 Y = 1220 X = 904.7500 Y = 610 X = 452.3750 Y = 305 X = 226.1875 Y = 152.5000 X = 113.0938 Y = 76.2500 X = 56.5469 Y = 38.1250 X = 28.2734 Y = 19.0625 X = 14.1367 Y = 9.5312 X = 7.0684 Y = 4.7656 X = 3.5342 Y = 2.3828 X = 1.7671 Y = 1.1914 X = 0.8835 Y = 0.5957 y = 24

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

Y = 1719 X = 1.2355e+03 Y = 859.5000 X = 617.7500 Y = 429.7500 X = 308.8750 Y = 214.8750 X = 154.4375 Y = 107.4375 X = 77.2188 Y = 53.7188 X = 38.6094 Y = 26.8594 X = 19.3047 Y = 13.4297 X = 9.6523 Y = 6.7148 X = 4.8262 Y = 3.3574 X = 2.4131 Y = 1.6787 X = 1.2065 Y = 0.8394 X = 0.6033 y = 24

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

X = 1611 Y = 1.1535e+03 X = 805.5000 Y = 576.7500 X = 402.7500 Y = 288.3750 X = 201.3750 Y = 144.1875 X = 100.6875 Y = 72.0938 X = 50.3438 Y = 36.0469 X = 25.1719 Y = 18.0234 X = 12.5859 Y = 9.0117 X = 6.2930 Y = 4.5059 X = 3.1465 Y = 2.2529 X = 1.5732 Y = 1.1265 X = 0.7866 y = 24

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

Y = 480 X = 366 Y = 240 X = 183 Y = 120 X = 91.5000 Y = 60 X = 45.7500 Y = 30 X = 22.8750 Y = 15 X = 11.4375 Y = 7.5000 X = 5.7188 Y = 3.7500 X = 2.8594 Y = 1.8750 X = 1.4297 Y = 0.9375 X = 0.7148 y = 20

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

X = 1.7735e+03 X = 886.7500 X = 443.3750 X = 221.6875 X = 110.8438 Y = 57.5000 X = 55.4219 Y = 28.7500 X = 27.7109 Y = 14.3750 X = 13.8555 Y = 7.1875 X = 6.9277 Y = 3.5938 X = 3.4639 Y = 1.7969 X = 1.7319 Y = 0.8984 X = 0.8660 y = 19

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

X = 980 X = 490 Y = 336 X = 245 Y = 168 X = 122.5000 Y = 84 X = 61.2500 Y = 42 X = 30.6250 Y = 21 X = 15.3125 Y = 10.5000 X = 7.6562 Y = 5.2500 X = 3.8281 Y = 2.6250 X = 1.9141 Y = 1.3125 X = 0.9570 Y = 0.6562 y = 21

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

X = 1.9575e+03 Y = 1.4255e+03 X = 978.7500 Y = 712.7500 X = 489.3750 Y = 356.3750 X = 244.6875 Y = 178.1875 X = 122.3438 Y = 89.0938 X = 61.1719 Y = 44.5469 X = 30.5859 Y = 22.2734 X = 15.2930 Y = 11.1367 X = 7.6465 Y = 5.5684 X = 3.8232 Y = 2.7842 X = 1.9116 Y = 1.3921 X = 0.9558 Y = 0.6960 y = 24

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

X = 1001 Y = 942.5000 X = 500.5000 Y = 471.2500 X = 250.2500 Y = 235.6250 X = 125.1250 Y = 117.8125 X = 62.5625 Y = 58.9062 X = 31.2812 Y = 29.4531 X = 15.6406 Y = 14.7266 X = 7.8203 Y = 7.3633 X = 3.9102 Y = 3.6816 X = 1.9551 Y = 1.8408 X = 0.9775 Y = 0.9204 y = 22

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

Y = 1364 Y = 682 Y = 341 Y = 170.5000 X = 119.5000 Y = 85.2500 X = 59.7500 Y = 42.6250 X = 29.8750 Y = 21.3125 X = 14.9375 Y = 10.6562 X = 7.4688 Y = 5.3281 X = 3.7344 Y = 2.6641 X = 1.8672 Y = 1.3320 X = 0.9336 Y = 0.6660 y = 20

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

Y = 143 X = 85 Y = 71.5000 X = 42.5000 Y = 35.7500 X = 21.2500 Y = 17.8750 X = 10.6250 Y = 8.9375 X = 5.3125 Y = 4.4688 X = 2.6562 Y = 2.2344 X = 1.3281 Y = 1.1172 X = 0.6641 y = 17

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

X = 1.0435e+03 X = 521.7500 X = 260.8750 Y = 193.5000 X = 130.4375 Y = 96.7500 X = 65.2188 Y = 48.3750 X = 32.6094 Y = 24.1875 X = 16.3047 Y = 12.0938 X = 8.1523 Y = 6.0469 X = 4.0762 Y = 3.0234 X = 2.0381 Y = 1.5117 X = 1.0190 Y = 0.7559 y = 21

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

X = 1.6365e+03 Y = 1.6355e+03 X = 818.2500 Y = 817.7500 X = 409.1250 Y = 408.8750 X = 204.5625 Y = 204.4375 X = 102.2812 Y = 102.2188 X = 51.1406 Y = 51.1094 X = 25.5703 Y = 25.5547 X = 12.7852 Y = 12.7773 X = 6.3926 Y = 6.3887 X = 3.1963 Y = 3.1943 X = 1.5981 Y = 1.5972 X = 0.7991 Y = 0.7986 y = 24

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

X = 1445 X = 722.5000 X = 361.2500 Y = 300 X = 180.6250 Y = 150 X = 90.3125 Y = 75 X = 45.1562 Y = 37.5000 X = 22.5781 Y = 18.7500 X = 11.2891 Y = 9.3750 X = 5.6445 Y = 4.6875 X = 2.8223 Y = 2.3438 X = 1.4111 Y = 1.1719 X = 0.7056 y = 22

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

X = 1.3195e+03 Y = 1.0375e+03 X = 659.7500 Y = 518.7500 X = 329.8750 Y = 259.3750 X = 164.9375 Y = 129.6875 X = 82.4688 Y = 64.8438 X = 41.2344 Y = 32.4219 X = 20.6172 Y = 16.2109 X = 10.3086 Y = 8.1055 X = 5.1543 Y = 4.0527 X = 2.5771 Y = 2.0264 X = 1.2886 Y = 1.0132 X = 0.6443 y = 24

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

X = 1946 Y = 1298 X = 973 Y = 649 X = 486.5000 Y = 324.5000 X = 243.2500 Y = 162.2500 X = 121.6250 Y = 81.1250 X = 60.8125 Y = 40.5625 X = 30.4062 Y = 20.2812 X = 15.2031 Y = 10.1406 X = 7.6016 Y = 5.0703 X = 3.8008 Y = 2.5352 X = 1.9004 Y = 1.2676 X = 0.9502 Y = 0.6338 y = 24

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

X = 1601 Y = 908 X = 800.5000 Y = 454 X = 400.2500 Y = 227 X = 200.1250 Y = 113.5000 X = 100.0625 Y = 56.7500 X = 50.0312 Y = 28.3750 X = 25.0156 Y = 14.1875 X = 12.5078 Y = 7.0938 X = 6.2539 Y = 3.5469 X = 3.1270 Y = 1.7734 X = 1.5635 Y = 0.8867 X = 0.7817 y = 23

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

Y = 1651 X = 865 Y = 825.5000 X = 432.5000 Y = 412.7500 X = 216.2500 Y = 206.3750 X = 108.1250 Y = 103.1875 X = 54.0625 Y = 51.5938 X = 27.0312 Y = 25.7969 X = 13.5156 Y = 12.8984 X = 6.7578 Y = 6.4492 X = 3.3789 Y = 3.2246 X = 1.6895 Y = 1.6123 X = 0.8447 Y = 0.8062 y = 23

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

Y = 266.5000 X = 167 Y = 133.2500 X = 83.5000 Y = 66.6250 X = 41.7500 Y = 33.3125 X = 20.8750 Y = 16.6562 X = 10.4375 Y = 8.3281 X = 5.2188 Y = 4.1641 X = 2.6094 Y = 2.0820 X = 1.3047 Y = 1.0410 X = 0.6523 y = 19

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

Y = 782 Y = 391 X = 347 Y = 195.5000 X = 173.5000 Y = 97.7500 X = 86.7500 Y = 48.8750 X = 43.3750 Y = 24.4375 X = 21.6875 Y = 12.2188 X = 10.8438 Y = 6.1094 X = 5.4219 Y = 3.0547 X = 2.7109 Y = 1.5273 X = 1.3555 Y = 0.7637 X = 0.6777 y = 21

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

X = 1663 Y = 1607 X = 831.5000 Y = 803.5000 X = 415.7500 Y = 401.7500 X = 207.8750 Y = 200.8750 X = 103.9375 Y = 100.4375 X = 51.9688 Y = 50.2188 X = 25.9844 Y = 25.1094 X = 12.9922 Y = 12.5547 X = 6.4961 Y = 6.2773 X = 3.2480 Y = 3.1387 X = 1.6240 Y = 1.5693 X = 0.8120 Y = 0.7847 y = 24

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

Y = 799 Y = 399.5000 Y = 199.7500 X = 121 Y = 99.8750 X = 60.5000 Y = 49.9375 X = 30.2500 Y = 24.9688 X = 15.1250 Y = 12.4844 X = 7.5625 Y = 6.2422 X = 3.7812 Y = 3.1211 X = 1.8906 Y = 1.5605 X = 0.9453 Y = 0.7803 y = 19

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

X = 1054 Y = 834 X = 527 Y = 417 X = 263.5000 Y = 208.5000 X = 131.7500 Y = 104.2500 X = 65.8750 Y = 52.1250 X = 32.9375 Y = 26.0625 X = 16.4688 Y = 13.0312 X = 8.2344 Y = 6.5156 X = 4.1172 Y = 3.2578 X = 2.0586 Y = 1.6289 X = 1.0293 Y = 0.8145 y = 23

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

X = 1314 Y = 1256 X = 657 Y = 628 X = 328.5000 Y = 314 X = 164.2500 Y = 157 X = 82.1250 Y = 78.5000 X = 41.0625 Y = 39.2500 X = 20.5312 Y = 19.6250 X = 10.2656 Y = 9.8125 X = 5.1328 Y = 4.9062 X = 2.5664 Y = 2.4531 X = 1.2832 Y = 1.2266 X = 0.6416 y = 24

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

Y = 863.5000 X = 584 Y = 431.7500 X = 292 Y = 215.8750 X = 146 Y = 107.9375 X = 73 Y = 53.9688 X = 36.5000 Y = 26.9844 X = 18.2500 Y = 13.4922 X = 9.1250 Y = 6.7461 X = 4.5625 Y = 3.3730 X = 2.2812 Y = 1.6865 X = 1.1406 Y = 0.8433 y = 22

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

Y = 1.9685e+03 Y = 984.2500 Y = 492.1250 Y = 246.0625 Y = 123.0312 Y = 61.5156 X = 31 Y = 30.7578 X = 15.5000 Y = 15.3789 X = 7.7500 Y = 7.6895 X = 3.8750 Y = 3.8447 X = 1.9375 Y = 1.9224 X = 0.9688 Y = 0.9612 y = 18

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

X = 334.5000 Y = 212.5000 X = 167.2500 Y = 106.2500 X = 83.6250 Y = 53.1250 X = 41.8125 Y = 26.5625 X = 20.9062 Y = 13.2812 X = 10.4531 Y = 6.6406 X = 5.2266 Y = 3.3203 X = 2.6133 Y = 1.6602 X = 1.3066 Y = 0.8301 X = 0.6533 y = 19

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

X = 745 Y = 396.5000 X = 372.5000 Y = 198.2500 X = 186.2500 Y = 99.1250 X = 93.1250 Y = 49.5625 X = 46.5625 Y = 24.7812 X = 23.2812 Y = 12.3906 X = 11.6406 Y = 6.1953 X = 5.8203 Y = 3.0977 X = 2.9102 Y = 1.5488 X = 1.4551 Y = 0.7744 X = 0.7275 y = 21

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

X = 979.5000 Y = 679 X = 489.7500 Y = 339.5000 X = 244.8750 Y = 169.7500 X = 122.4375 Y = 84.8750 X = 61.2188 Y = 42.4375 X = 30.6094 Y = 21.2188 X = 15.3047 Y = 10.6094 X = 7.6523 Y = 5.3047 X = 3.8262 Y = 2.6523 X = 1.9131 Y = 1.3262 X = 0.9565 Y = 0.6631 y = 22

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

X = 1.9035e+03 Y = 1841 X = 951.7500 Y = 920.5000 X = 475.8750 Y = 460.2500 X = 237.9375 Y = 230.1250 X = 118.9688 Y = 115.0625 X = 59.4844 Y = 57.5312 X = 29.7422 Y = 28.7656 X = 14.8711 Y = 14.3828 X = 7.4355 Y = 7.1914 X = 3.7178 Y = 3.5957 X = 1.8589 Y = 1.7979 X = 0.9294 Y = 0.8989 y = 24

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

Y = 1476 Y = 738 Y = 369 Y = 184.5000 X = 105.5000 Y = 92.2500 X = 52.7500 Y = 46.1250 X = 26.3750 Y = 23.0625 X = 13.1875 Y = 11.5312 X = 6.5938 Y = 5.7656 X = 3.2969 Y = 2.8828 X = 1.6484 Y = 1.4414 X = 0.8242 Y = 0.7207 y = 20

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

Y = 846 X = 538.5000 Y = 423 X = 269.2500 Y = 211.5000 X = 134.6250 Y = 105.7500 X = 67.3125 Y = 52.8750 X = 33.6562 Y = 26.4375 X = 16.8281 Y = 13.2188 X = 8.4141 Y = 6.6094 X = 4.2070 Y = 3.3047 X = 2.1035 Y = 1.6523 X = 1.0518 Y = 0.8262 y = 22

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

Y = 1.8855e+03 X = 1096 Y = 942.7500 X = 548 Y = 471.3750 X = 274 Y = 235.6875 X = 137 Y = 117.8438 X = 68.5000 Y = 58.9219 X = 34.2500 Y = 29.4609 X = 17.1250 Y = 14.7305 X = 8.5625 Y = 7.3652 X = 4.2812 Y = 3.6826 X = 2.1406 Y = 1.8413 X = 1.0703 Y = 0.9207 y = 24

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

X = 0.5000 y = 2

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

Y = 1.9665e+03 Y = 983.2500 X = 835.5000 Y = 491.6250 X = 417.7500 Y = 245.8125 X = 208.8750 Y = 122.9062 X = 104.4375 Y = 61.4531 X = 52.2188 Y = 30.7266 X = 26.1094 Y = 15.3633 X = 13.0547 Y = 7.6816 X = 6.5273 Y = 3.8408 X = 3.2637 Y = 1.9204 X = 1.6318 Y = 0.9602 X = 0.8159 y = 23

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

Y = 1.4025e+03 Y = 701.2500 X = 603 Y = 350.6250 X = 301.5000 Y = 175.3125 X = 150.7500 Y = 87.6562 X = 75.3750 Y = 43.8281 X = 37.6875 Y = 21.9141 X = 18.8438 Y = 10.9570 X = 9.4219 Y = 5.4785 X = 4.7109 Y = 2.7393 X = 2.3555 Y = 1.3696 X = 1.1777 Y = 0.6848 y = 23

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

X = 1333 Y = 1.0785e+03 X = 666.5000 Y = 539.2500 X = 333.2500 Y = 269.6250 X = 166.6250 Y = 134.8125 X = 83.3125 Y = 67.4062 X = 41.6562 Y = 33.7031 X = 20.8281 Y = 16.8516 X = 10.4141 Y = 8.4258 X = 5.2070 Y = 4.2129 X = 2.6035 Y = 2.1064 X = 1.3018 Y = 1.0532 X = 0.6509 y = 24

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

X = 1.3965e+03 Y = 1.3335e+03 X = 698.2500 Y = 666.7500 X = 349.1250 Y = 333.3750 X = 174.5625 Y = 166.6875 X = 87.2812 Y = 83.3438 X = 43.6406 Y = 41.6719 X = 21.8203 Y = 20.8359 X = 10.9102 Y = 10.4180 X = 5.4551 Y = 5.2090 X = 2.7275 Y = 2.6045 X = 1.3638 Y = 1.3022 X = 0.6819 y = 24

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

X = 356.5000 Y = 256.5000 X = 178.2500 Y = 128.2500 X = 89.1250 Y = 64.1250 X = 44.5625 Y = 32.0625 X = 22.2812 Y = 16.0312 X = 11.1406 Y = 8.0156 X = 5.5703 Y = 4.0078 X = 2.7852 Y = 2.0039 X = 1.3926 Y = 1.0020 X = 0.6963 y = 20

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

X = 1.9985e+03 X = 999.2500 X = 499.6250 Y = 342.5000 X = 249.8125 Y = 171.2500 X = 124.9062 Y = 85.6250 X = 62.4531 Y = 42.8125 X = 31.2266 Y = 21.4062 X = 15.6133 Y = 10.7031 X = 7.8066 Y = 5.3516 X = 3.9033 Y = 2.6758 X = 1.9517 Y = 1.3379 X = 0.9758 Y = 0.6689 y = 22

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

Y = 1.1225e+03 Y = 561.2500 Y = 280.6250 Y = 140.3125 Y = 70.1562 X = 65.5000 Y = 35.0781 X = 32.7500 Y = 17.5391 X = 16.3750 Y = 8.7695 X = 8.1875 Y = 4.3848 X = 4.0938 Y = 2.1924 X = 2.0469 Y = 1.0962 X = 1.0234 Y = 0.5481 y = 20

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

X = 1764 Y = 1.3385e+03 X = 882 Y = 669.2500 X = 441 Y = 334.6250 X = 220.5000 Y = 167.3125 X = 110.2500 Y = 83.6562 X = 55.1250 Y = 41.8281 X = 27.5625 Y = 20.9141 X = 13.7812 Y = 10.4570 X = 6.8906 Y = 5.2285 X = 3.4453 Y = 2.6143 X = 1.7227 Y = 1.3071 X = 0.8613 Y = 0.6536 y = 24

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

Y = 738 X = 381 Y = 369 X = 190.5000 Y = 184.5000 X = 95.2500 Y = 92.2500 X = 47.6250 Y = 46.1250 X = 23.8125 Y = 23.0625 X = 11.9062 Y = 11.5312 X = 5.9531 Y = 5.7656 X = 2.9766 Y = 2.8828 X = 1.4883 Y = 1.4414 X = 0.7441 Y = 0.7207 y = 21

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

Y = 1.9635e+03 Y = 981.7500 X = 921.5000 Y = 490.8750 X = 460.7500 Y = 245.4375 X = 230.3750 Y = 122.7188 X = 115.1875 Y = 61.3594 X = 57.5938 Y = 30.6797 X = 28.7969 Y = 15.3398 X = 14.3984 Y = 7.6699 X = 7.1992 Y = 3.8350 X = 3.5996 Y = 1.9175 X = 1.7998 Y = 0.9587 X = 0.8999 y = 23

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

Y = 1.7115e+03 Y = 855.7500 Y = 427.8750 X = 313 Y = 213.9375 X = 156.5000 Y = 106.9688 X = 78.2500 Y = 53.4844 X = 39.1250 Y = 26.7422 X = 19.5625 Y = 13.3711 X = 9.7812 Y = 6.6855 X = 4.8906 Y = 3.3428 X = 2.4453 Y = 1.6714 X = 1.2227 Y = 0.8357 X = 0.6113 y = 22

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

X = 1290 Y = 753 X = 645 Y = 376.5000 X = 322.5000 Y = 188.2500 X = 161.2500 Y = 94.1250 X = 80.6250 Y = 47.0625 X = 40.3125 Y = 23.5312 X = 20.1562 Y = 11.7656 X = 10.0781 Y = 5.8828 X = 5.0391 Y = 2.9414 X = 2.5195 Y = 1.4707 X = 1.2598 Y = 0.7354 y = 23

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

Y = 857 Y = 428.5000 X = 382 Y = 214.2500 X = 191 Y = 107.1250 X = 95.5000 Y = 53.5625 X = 47.7500 Y = 26.7812 X = 23.8750 Y = 13.3906 X = 11.9375 Y = 6.6953 X = 5.9688 Y = 3.3477 X = 2.9844 Y = 1.6738 X = 1.4922 Y = 0.8369 X = 0.7461 y = 21

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

X = 964.5000 X = 482.2500 Y = 241.5000 X = 241.1250 Y = 120.7500 X = 120.5625 Y = 60.3750 X = 60.2812 Y = 30.1875 X = 30.1406 Y = 15.0938 X = 15.0703 Y = 7.5469 X = 7.5352 Y = 3.7734 X = 3.7676 Y = 1.8867 X = 1.8838 Y = 0.9434 X = 0.9419 y = 20

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

X = 1.1795e+03 X = 589.7500 Y = 452.5000 X = 294.8750 Y = 226.2500 X = 147.4375 Y = 113.1250 X = 73.7188 Y = 56.5625 X = 36.8594 Y = 28.2812 X = 18.4297 Y = 14.1406 X = 9.2148 Y = 7.0703 X = 4.6074 Y = 3.5352 X = 2.3037 Y = 1.7676 X = 1.1519 Y = 0.8838 X = 0.5759 y = 22

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

Y = 1166 X = 769.5000 Y = 583 X = 384.7500 Y = 291.5000 X = 192.3750 Y = 145.7500 X = 96.1875 Y = 72.8750 X = 48.0938 Y = 36.4375 X = 24.0469 Y = 18.2188 X = 12.0234 Y = 9.1094 X = 6.0117 Y = 4.5547 X = 3.0059 Y = 2.2773 X = 1.5029 Y = 1.1387 X = 0.7515 y = 23

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

Y = 581 X = 504 Y = 290.5000 X = 252 Y = 145.2500 X = 126 Y = 72.6250 X = 63 Y = 36.3125 X = 31.5000 Y = 18.1562 X = 15.7500 Y = 9.0781 X = 7.8750 Y = 4.5391 X = 3.9375 Y = 2.2695 X = 1.9688 Y = 1.1348 X = 0.9844 Y = 0.5674 y = 21

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

X = 1.2345e+03 X = 617.2500 Y = 531 X = 308.6250 Y = 265.5000 X = 154.3125 Y = 132.7500 X = 77.1562 Y = 66.3750 X = 38.5781 Y = 33.1875 X = 19.2891 Y = 16.5938 X = 9.6445 Y = 8.2969 X = 4.8223 Y = 4.1484 X = 2.4111 Y = 2.0742 X = 1.2056 Y = 1.0371 X = 0.6028 y = 23

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

X = 7.5000 Y = 7.5000 X = 3.7500 Y = 3.7500 X = 1.8750 Y = 1.8750 X = 0.9375 Y = 0.9375 y = 8

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

Y = 1.9655e+03 X = 1649 Y = 982.7500 X = 824.5000 Y = 491.3750 X = 412.2500 Y = 245.6875 X = 206.1250 Y = 122.8438 X = 103.0625 Y = 61.4219 X = 51.5312 Y = 30.7109 X = 25.7656 Y = 15.3555 X = 12.8828 Y = 7.6777 X = 6.4414 Y = 3.8389 X = 3.2207 Y = 1.9194 X = 1.6104 Y = 0.9597 X = 0.8052 y = 24

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

X = 1.4605e+03 X = 730.2500 Y = 688 X = 365.1250 Y = 344 X = 182.5625 Y = 172 X = 91.2812 Y = 86 X = 45.6406 Y = 43 X = 22.8203 Y = 21.5000 X = 11.4102 Y = 10.7500 X = 5.7051 Y = 5.3750 X = 2.8525 Y = 2.6875 X = 1.4263 Y = 1.3438 X = 0.7131 Y = 0.6719 y = 23

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

X = 1.1685e+03 X = 584.2500 X = 292.1250 Y = 216 X = 146.0625 Y = 108 X = 73.0312 Y = 54 X = 36.5156 Y = 27 X = 18.2578 Y = 13.5000 X = 9.1289 Y = 6.7500 X = 4.5645 Y = 3.3750 X = 2.2822 Y = 1.6875 X = 1.1411 Y = 0.8438 y = 21

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

X = 1813 Y = 1.7595e+03 X = 906.5000 Y = 879.7500 X = 453.2500 Y = 439.8750 X = 226.6250 Y = 219.9375 X = 113.3125 Y = 109.9688 X = 56.6562 Y = 54.9844 X = 28.3281 Y = 27.4922 X = 14.1641 Y = 13.7461 X = 7.0820 Y = 6.8730 X = 3.5410 Y = 3.4365 X = 1.7705 Y = 1.7183 X = 0.8853 Y = 0.8591 y = 24

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

X = 1636 X = 818 Y = 521.5000 X = 409 Y = 260.7500 X = 204.5000 Y = 130.3750 X = 102.2500 Y = 65.1875 X = 51.1250 Y = 32.5938 X = 25.5625 Y = 16.2969 X = 12.7812 Y = 8.1484 X = 6.3906 Y = 4.0742 X = 3.1953 Y = 2.0371 X = 1.5977 Y = 1.0186 X = 0.7988 y = 23

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

X = 1.5000 Y = 1 X = 0.7500 y = 4

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

X = 1189 X = 594.5000 X = 297.2500 X = 148.6250 X = 74.3125 Y = 45.5000 X = 37.1562 Y = 22.7500 X = 18.5781 Y = 11.3750 X = 9.2891 Y = 5.6875 X = 4.6445 Y = 2.8438 X = 2.3223 Y = 1.4219 X = 1.1611 Y = 0.7109 y = 19

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

X = 851 Y = 625.5000 X = 425.5000 Y = 312.7500 X = 212.7500 Y = 156.3750 X = 106.3750 Y = 78.1875 X = 53.1875 Y = 39.0938 X = 26.5938 Y = 19.5469 X = 13.2969 Y = 9.7734 X = 6.6484 Y = 4.8867 X = 3.3242 Y = 2.4434 X = 1.6621 Y = 1.2217 X = 0.8311 Y = 0.6108 y = 22

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

Y = 358 X = 323 Y = 179 X = 161.5000 Y = 89.5000 X = 80.7500 Y = 44.7500 X = 40.3750 Y = 22.3750 X = 20.1875 Y = 11.1875 X = 10.0938 Y = 5.5938 X = 5.0469 Y = 2.7969 X = 2.5234 Y = 1.3984 X = 1.2617 Y = 0.6992 y = 20

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

X = 846 X = 423 X = 211.5000 Y = 188.5000 X = 105.7500 Y = 94.2500 X = 52.8750 Y = 47.1250 X = 26.4375 Y = 23.5625 X = 13.2188 Y = 11.7812 X = 6.6094 Y = 5.8906 X = 3.3047 Y = 2.9453 X = 1.6523 Y = 1.4727 X = 0.8262 Y = 0.7363 y = 20

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

X = 8 Y = 7.5000 X = 4 Y = 3.7500 X = 2 Y = 1.8750 X = 1 Y = 0.9375 y = 9