Cody

Solution 1614344

Submitted on 22 Aug 2018 by Be Matlabi
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
nmax = 10; pmax = 52; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 pmax = 52

2   Pass
nmax = 30; pmax = 9232; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 m = 52 m = 16 m = 40 m = 52 m = 160 m = 16 m = 52 m = 52 m = 88 m = 20 m = 64 m = 52 m = 160 m = 24 m = 88 m = 40 m = 9232 m = 52 m = 88 m = 160 pmax = 9232

3   Pass
nmax = 100; pmax = 9232; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 m = 52 m = 16 m = 40 m = 52 m = 160 m = 16 m = 52 m = 52 m = 88 m = 20 m = 64 m = 52 m = 160 m = 24 m = 88 m = 40 m = 9232 m = 52 m = 88 m = 160 m = 9232 m = 32 m = 100 m = 52 m = 160 m = 52 m = 112 m = 88 m = 304 m = 40 m = 9232 m = 64 m = 196 m = 52 m = 136 m = 160 m = 9232 m = 48 m = 148 m = 88 m = 232 m = 52 m = 160 m = 9232 m = 9232 m = 56 m = 196 m = 88 m = 304 m = 160 m = 184 m = 9232 m = 9232 m = 64 m = 196 m = 100 m = 304 m = 68 m = 208 m = 160 m = 9232 m = 72 m = 9232 m = 112 m = 340 m = 88 m = 232 m = 304 m = 808 m = 80 m = 244 m = 9232 m = 9232 m = 84 m = 256 m = 196 m = 592 m = 88 m = 304 m = 136 m = 9232 m = 160 m = 280 m = 9232 m = 9232 m = 96 m = 9232 m = 148 m = 448 m = 100 pmax = 9232

4   Pass
nmax = 1000; pmax = 250504; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 m = 52 m = 16 m = 40 m = 52 m = 160 m = 16 m = 52 m = 52 m = 88 m = 20 m = 64 m = 52 m = 160 m = 24 m = 88 m = 40 m = 9232 m = 52 m = 88 m = 160 m = 9232 m = 32 m = 100 m = 52 m = 160 m = 52 m = 112 m = 88 m = 304 m = 40 m = 9232 m = 64 m = 196 m = 52 m = 136 m = 160 m = 9232 m = 48 m = 148 m = 88 m = 232 m = 52 m = 160 m = 9232 m = 9232 m = 56 m = 196 m = 88 m = 304 m = 160 m = 184 m = 9232 m = 9232 m = 64 m = 196 m = 100 m = 304 m = 68 m = 208 m = 160 m = 9232 m = 72 m = 9232 m = 112 m = 340 m = 88 m = 232 m = 304 m = 808 m = 80 m = 244 m = 9232 m = 9232 m = 84 m = 256 m = 196 m = 592 m = 88 m = 304 m = 136 m = 9232 m = 160 m = 280 m = 9232 m = 9232 m = 96 m = 9232 m = 148 m = 448 m = 100 m = 304 m = 232 m = 9232 m = 104 m = 808 m = 160 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 112 m = 340 m = 196 m = 520 m = 116 m = 352 m = 304 m = 808 m = 160 m = 9232 m = 184 m = 628 m = 9232 m = 9232 m = 9232 m = 4372 m = 128 m = 9232 m = 196 m = 592 m = 132 m = 400 m = 304 m = 916 m = 136 m = 9232 m = 208 m = 628 m = 160 m = 424 m = 9232 m = 9232 m = 144 m = 9232 m = 9232 m = 9232 m = 148 m = 448 m = 340 m = 1024 m = 152 m = 520 m = 232 m = 9232 m = 304 m = 472 m = 808 m = 9232 m = 160 m = 9232 m = 244 m = 736 m = 9232 m = 9232 m = 9232 m = 9232 m = 168 m = 4372 m = 256 m = 9232 m = 196 m = 520 m = 592 m = 9232 m = 176 m = 532 m = 304 m = 808 m = 180 m = 544 m = 9232 m = 9232 m = 184 m = 628 m = 280 m = 952 m = 9232 m = 9232 m = 9232 m = 4372 m = 192 m = 9232 m = 9232 m = 9232 m = 196 m = 592 m = 448 m = 9232 m = 200 m = 1024 m = 304 m = 916 m = 232 m = 616 m = 9232 m = 9232 m = 208 m = 628 m = 808 m = 952 m = 212 m = 640 m = 9232 m = 9232 m = 9232 m = 736 m = 9232 m = 1672 m = 9232 m = 9232 m = 9232 m = 9232 m = 224 m = 4372 m = 340 m = 1024 m = 228 m = 688 m = 520 m = 9232 m = 232 m = 9232 m = 352 m = 9232 m = 304 m = 712 m = 808 m = 9232 m = 240 m = 724 m = 9232 m = 9232 m = 244 m = 736 m = 628 m = 1672 m = 9232 m = 952 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 13120 m = 256 m = 9232 m = 9232 m = 9232 m = 260 m = 784 m = 592 m = 9232 m = 264 m = 9232 m = 400 m = 1204 m = 304 m = 808 m = 916 m = 2752 m = 272 m = 820 m = 9232 m = 9232 m = 276 m = 832 m = 628 m = 1888 m = 280 m = 952 m = 424 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 288 m = 868 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2248 m = 296 m = 9232 m = 448 m = 9232 m = 340 m = 904 m = 1024 m = 3076 m = 304 m = 916 m = 520 m = 1384 m = 308 m = 928 m = 9232 m = 9232 m = 312 m = 9232 m = 472 m = 1600 m = 808 m = 952 m = 9232 m = 9232 m = 320 m = 964 m = 9232 m = 9232 m = 324 m = 976 m = 736 m = 9232 m = 9232 m = 1672 m = 9232 m = 1492 m = 9232 m = 9232 m = 9232 m = 9232 m = 336 m = 9232 m = 4372 m = 4372 m = 340 m = 1024 m = 9232 m = 9232 m = 344 m = 9232 m = 520 m = 9232 m = 592 m = 1048 m = 9232 m = 9232 m = 352 m = 9232 m = 532 m = 1600 m = 356 m = 1072 m = 808 m = 9232 m = 360 m = 2752 m = 544 m = 1636 m = 9232 m = 9232 m = 9232 m = 4192 m = 368 m = 1108 m = 628 m = 1672 m = 372 m = 1120 m = 952 m = 2536 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 9232 m = 4372 m = 13120 m = 384 m = 1156 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 392 m = 2248 m = 592 m = 9232 m = 448 m = 1192 m = 9232 m = 9232 m = 400 m = 1204 m = 1024 m = 1816 m = 404 m = 1216 m = 916 m = 2752 m = 408 m = 1384 m = 616 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 416 m = 9232 m = 628 m = 1888 m = 808 m = 1264 m = 952 m = 3220 m = 424 m = 9232 m = 640 m = 2752 m = 9232 m = 9232 m = 9232 m = 4372 m = 9232 m = 1300 m = 736 m = 1960 m = 9232 m = 9232 m = 1672 m = 2968 m = 9232 m = 1492 m = 9232 m = 2248 m = 9232 m = 9232 m = 9232 m = 39364 m = 448 m = 9232 m = 4372 m = 4372 m = 452 m = 1360 m = 1024 m = 3076 m = 456 m = 9232 m = 688 m = 9232 m = 520 m = 1384 m = 9232 m = 9232 m = 464 m = 1396 m = 9232 m = 9232 m = 468 m = 1408 m = 9232 m = 9232 m = 472 m = 1600 m = 712 m = 3616 m = 808 m = 1432 m = 9232 m = 9232 m = 480 m = 2752 m = 724 m = 2176 m = 9232 m = 9232 m = 9232 m = 9232 m = 488 m = 4192 m = 736 m = 9232 m = 628 m = 1480 m = 1672 m = 14308 m = 9232 m = 1492 m = 952 m = 2248 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 4372 m = 4372 m = 13120 m = 39364 m = 512 m = 1540 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 3508 m = 520 m = 9232 m = 784 m = 9232 m = 592 m = 1576 m = 9232 m = 9232 m = 528 m = 1588 m = 9232 m = 9232 m = 532 m = 1600 m = 1204 m = 3616 m = 536 m = 1816 m = 808 m = 9232 m = 916 m = 1624 m = 2752 m = 9232 m = 544 m = 1636 m = 820 m = 2464 m = 9232 m = 9232 m = 9232 m = 4192 m = 552 m = 9232 m = 832 m = 2500 m = 628 m = 1672 m = 1888 m = 8080 m = 560 m = 1684 m = 952 m = 2536 m = 564 m = 1696 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 9232 m = 9232 m = 4372 m = 13120 m = 576 m = 1732 m = 868 m = 2608 m = 9232 m = 9232 m = 9232 m = ...

5   Pass
nmax = 2000; pmax = 1276936; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 m = 52 m = 16 m = 40 m = 52 m = 160 m = 16 m = 52 m = 52 m = 88 m = 20 m = 64 m = 52 m = 160 m = 24 m = 88 m = 40 m = 9232 m = 52 m = 88 m = 160 m = 9232 m = 32 m = 100 m = 52 m = 160 m = 52 m = 112 m = 88 m = 304 m = 40 m = 9232 m = 64 m = 196 m = 52 m = 136 m = 160 m = 9232 m = 48 m = 148 m = 88 m = 232 m = 52 m = 160 m = 9232 m = 9232 m = 56 m = 196 m = 88 m = 304 m = 160 m = 184 m = 9232 m = 9232 m = 64 m = 196 m = 100 m = 304 m = 68 m = 208 m = 160 m = 9232 m = 72 m = 9232 m = 112 m = 340 m = 88 m = 232 m = 304 m = 808 m = 80 m = 244 m = 9232 m = 9232 m = 84 m = 256 m = 196 m = 592 m = 88 m = 304 m = 136 m = 9232 m = 160 m = 280 m = 9232 m = 9232 m = 96 m = 9232 m = 148 m = 448 m = 100 m = 304 m = 232 m = 9232 m = 104 m = 808 m = 160 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 112 m = 340 m = 196 m = 520 m = 116 m = 352 m = 304 m = 808 m = 160 m = 9232 m = 184 m = 628 m = 9232 m = 9232 m = 9232 m = 4372 m = 128 m = 9232 m = 196 m = 592 m = 132 m = 400 m = 304 m = 916 m = 136 m = 9232 m = 208 m = 628 m = 160 m = 424 m = 9232 m = 9232 m = 144 m = 9232 m = 9232 m = 9232 m = 148 m = 448 m = 340 m = 1024 m = 152 m = 520 m = 232 m = 9232 m = 304 m = 472 m = 808 m = 9232 m = 160 m = 9232 m = 244 m = 736 m = 9232 m = 9232 m = 9232 m = 9232 m = 168 m = 4372 m = 256 m = 9232 m = 196 m = 520 m = 592 m = 9232 m = 176 m = 532 m = 304 m = 808 m = 180 m = 544 m = 9232 m = 9232 m = 184 m = 628 m = 280 m = 952 m = 9232 m = 9232 m = 9232 m = 4372 m = 192 m = 9232 m = 9232 m = 9232 m = 196 m = 592 m = 448 m = 9232 m = 200 m = 1024 m = 304 m = 916 m = 232 m = 616 m = 9232 m = 9232 m = 208 m = 628 m = 808 m = 952 m = 212 m = 640 m = 9232 m = 9232 m = 9232 m = 736 m = 9232 m = 1672 m = 9232 m = 9232 m = 9232 m = 9232 m = 224 m = 4372 m = 340 m = 1024 m = 228 m = 688 m = 520 m = 9232 m = 232 m = 9232 m = 352 m = 9232 m = 304 m = 712 m = 808 m = 9232 m = 240 m = 724 m = 9232 m = 9232 m = 244 m = 736 m = 628 m = 1672 m = 9232 m = 952 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 13120 m = 256 m = 9232 m = 9232 m = 9232 m = 260 m = 784 m = 592 m = 9232 m = 264 m = 9232 m = 400 m = 1204 m = 304 m = 808 m = 916 m = 2752 m = 272 m = 820 m = 9232 m = 9232 m = 276 m = 832 m = 628 m = 1888 m = 280 m = 952 m = 424 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 288 m = 868 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2248 m = 296 m = 9232 m = 448 m = 9232 m = 340 m = 904 m = 1024 m = 3076 m = 304 m = 916 m = 520 m = 1384 m = 308 m = 928 m = 9232 m = 9232 m = 312 m = 9232 m = 472 m = 1600 m = 808 m = 952 m = 9232 m = 9232 m = 320 m = 964 m = 9232 m = 9232 m = 324 m = 976 m = 736 m = 9232 m = 9232 m = 1672 m = 9232 m = 1492 m = 9232 m = 9232 m = 9232 m = 9232 m = 336 m = 9232 m = 4372 m = 4372 m = 340 m = 1024 m = 9232 m = 9232 m = 344 m = 9232 m = 520 m = 9232 m = 592 m = 1048 m = 9232 m = 9232 m = 352 m = 9232 m = 532 m = 1600 m = 356 m = 1072 m = 808 m = 9232 m = 360 m = 2752 m = 544 m = 1636 m = 9232 m = 9232 m = 9232 m = 4192 m = 368 m = 1108 m = 628 m = 1672 m = 372 m = 1120 m = 952 m = 2536 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 9232 m = 4372 m = 13120 m = 384 m = 1156 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 392 m = 2248 m = 592 m = 9232 m = 448 m = 1192 m = 9232 m = 9232 m = 400 m = 1204 m = 1024 m = 1816 m = 404 m = 1216 m = 916 m = 2752 m = 408 m = 1384 m = 616 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 416 m = 9232 m = 628 m = 1888 m = 808 m = 1264 m = 952 m = 3220 m = 424 m = 9232 m = 640 m = 2752 m = 9232 m = 9232 m = 9232 m = 4372 m = 9232 m = 1300 m = 736 m = 1960 m = 9232 m = 9232 m = 1672 m = 2968 m = 9232 m = 1492 m = 9232 m = 2248 m = 9232 m = 9232 m = 9232 m = 39364 m = 448 m = 9232 m = 4372 m = 4372 m = 452 m = 1360 m = 1024 m = 3076 m = 456 m = 9232 m = 688 m = 9232 m = 520 m = 1384 m = 9232 m = 9232 m = 464 m = 1396 m = 9232 m = 9232 m = 468 m = 1408 m = 9232 m = 9232 m = 472 m = 1600 m = 712 m = 3616 m = 808 m = 1432 m = 9232 m = 9232 m = 480 m = 2752 m = 724 m = 2176 m = 9232 m = 9232 m = 9232 m = 9232 m = 488 m = 4192 m = 736 m = 9232 m = 628 m = 1480 m = 1672 m = 14308 m = 9232 m = 1492 m = 952 m = 2248 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 4372 m = 4372 m = 13120 m = 39364 m = 512 m = 1540 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 3508 m = 520 m = 9232 m = 784 m = 9232 m = 592 m = 1576 m = 9232 m = 9232 m = 528 m = 1588 m = 9232 m = 9232 m = 532 m = 1600 m = 1204 m = 3616 m = 536 m = 1816 m = 808 m = 9232 m = 916 m = 1624 m = 2752 m = 9232 m = 544 m = 1636 m = 820 m = 2464 m = 9232 m = 9232 m = 9232 m = 4192 m = 552 m = 9232 m = 832 m = 2500 m = 628 m = 1672 m = 1888 m = 8080 m = 560 m = 1684 m = 952 m = 2536 m = 564 m = 1696 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 9232 m = 9232 m = 4372 m = 13120 m = 576 m = 1732 m = 868 m = 2608 m = 9232 m = 9232 m = 9232 m = ...

6   Pass
nmax = 4500; pmax = 6810136; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 m = 52 m = 16 m = 40 m = 52 m = 160 m = 16 m = 52 m = 52 m = 88 m = 20 m = 64 m = 52 m = 160 m = 24 m = 88 m = 40 m = 9232 m = 52 m = 88 m = 160 m = 9232 m = 32 m = 100 m = 52 m = 160 m = 52 m = 112 m = 88 m = 304 m = 40 m = 9232 m = 64 m = 196 m = 52 m = 136 m = 160 m = 9232 m = 48 m = 148 m = 88 m = 232 m = 52 m = 160 m = 9232 m = 9232 m = 56 m = 196 m = 88 m = 304 m = 160 m = 184 m = 9232 m = 9232 m = 64 m = 196 m = 100 m = 304 m = 68 m = 208 m = 160 m = 9232 m = 72 m = 9232 m = 112 m = 340 m = 88 m = 232 m = 304 m = 808 m = 80 m = 244 m = 9232 m = 9232 m = 84 m = 256 m = 196 m = 592 m = 88 m = 304 m = 136 m = 9232 m = 160 m = 280 m = 9232 m = 9232 m = 96 m = 9232 m = 148 m = 448 m = 100 m = 304 m = 232 m = 9232 m = 104 m = 808 m = 160 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 112 m = 340 m = 196 m = 520 m = 116 m = 352 m = 304 m = 808 m = 160 m = 9232 m = 184 m = 628 m = 9232 m = 9232 m = 9232 m = 4372 m = 128 m = 9232 m = 196 m = 592 m = 132 m = 400 m = 304 m = 916 m = 136 m = 9232 m = 208 m = 628 m = 160 m = 424 m = 9232 m = 9232 m = 144 m = 9232 m = 9232 m = 9232 m = 148 m = 448 m = 340 m = 1024 m = 152 m = 520 m = 232 m = 9232 m = 304 m = 472 m = 808 m = 9232 m = 160 m = 9232 m = 244 m = 736 m = 9232 m = 9232 m = 9232 m = 9232 m = 168 m = 4372 m = 256 m = 9232 m = 196 m = 520 m = 592 m = 9232 m = 176 m = 532 m = 304 m = 808 m = 180 m = 544 m = 9232 m = 9232 m = 184 m = 628 m = 280 m = 952 m = 9232 m = 9232 m = 9232 m = 4372 m = 192 m = 9232 m = 9232 m = 9232 m = 196 m = 592 m = 448 m = 9232 m = 200 m = 1024 m = 304 m = 916 m = 232 m = 616 m = 9232 m = 9232 m = 208 m = 628 m = 808 m = 952 m = 212 m = 640 m = 9232 m = 9232 m = 9232 m = 736 m = 9232 m = 1672 m = 9232 m = 9232 m = 9232 m = 9232 m = 224 m = 4372 m = 340 m = 1024 m = 228 m = 688 m = 520 m = 9232 m = 232 m = 9232 m = 352 m = 9232 m = 304 m = 712 m = 808 m = 9232 m = 240 m = 724 m = 9232 m = 9232 m = 244 m = 736 m = 628 m = 1672 m = 9232 m = 952 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 13120 m = 256 m = 9232 m = 9232 m = 9232 m = 260 m = 784 m = 592 m = 9232 m = 264 m = 9232 m = 400 m = 1204 m = 304 m = 808 m = 916 m = 2752 m = 272 m = 820 m = 9232 m = 9232 m = 276 m = 832 m = 628 m = 1888 m = 280 m = 952 m = 424 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 288 m = 868 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2248 m = 296 m = 9232 m = 448 m = 9232 m = 340 m = 904 m = 1024 m = 3076 m = 304 m = 916 m = 520 m = 1384 m = 308 m = 928 m = 9232 m = 9232 m = 312 m = 9232 m = 472 m = 1600 m = 808 m = 952 m = 9232 m = 9232 m = 320 m = 964 m = 9232 m = 9232 m = 324 m = 976 m = 736 m = 9232 m = 9232 m = 1672 m = 9232 m = 1492 m = 9232 m = 9232 m = 9232 m = 9232 m = 336 m = 9232 m = 4372 m = 4372 m = 340 m = 1024 m = 9232 m = 9232 m = 344 m = 9232 m = 520 m = 9232 m = 592 m = 1048 m = 9232 m = 9232 m = 352 m = 9232 m = 532 m = 1600 m = 356 m = 1072 m = 808 m = 9232 m = 360 m = 2752 m = 544 m = 1636 m = 9232 m = 9232 m = 9232 m = 4192 m = 368 m = 1108 m = 628 m = 1672 m = 372 m = 1120 m = 952 m = 2536 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 9232 m = 4372 m = 13120 m = 384 m = 1156 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 392 m = 2248 m = 592 m = 9232 m = 448 m = 1192 m = 9232 m = 9232 m = 400 m = 1204 m = 1024 m = 1816 m = 404 m = 1216 m = 916 m = 2752 m = 408 m = 1384 m = 616 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 416 m = 9232 m = 628 m = 1888 m = 808 m = 1264 m = 952 m = 3220 m = 424 m = 9232 m = 640 m = 2752 m = 9232 m = 9232 m = 9232 m = 4372 m = 9232 m = 1300 m = 736 m = 1960 m = 9232 m = 9232 m = 1672 m = 2968 m = 9232 m = 1492 m = 9232 m = 2248 m = 9232 m = 9232 m = 9232 m = 39364 m = 448 m = 9232 m = 4372 m = 4372 m = 452 m = 1360 m = 1024 m = 3076 m = 456 m = 9232 m = 688 m = 9232 m = 520 m = 1384 m = 9232 m = 9232 m = 464 m = 1396 m = 9232 m = 9232 m = 468 m = 1408 m = 9232 m = 9232 m = 472 m = 1600 m = 712 m = 3616 m = 808 m = 1432 m = 9232 m = 9232 m = 480 m = 2752 m = 724 m = 2176 m = 9232 m = 9232 m = 9232 m = 9232 m = 488 m = 4192 m = 736 m = 9232 m = 628 m = 1480 m = 1672 m = 14308 m = 9232 m = 1492 m = 952 m = 2248 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 4372 m = 4372 m = 13120 m = 39364 m = 512 m = 1540 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 3508 m = 520 m = 9232 m = 784 m = 9232 m = 592 m = 1576 m = 9232 m = 9232 m = 528 m = 1588 m = 9232 m = 9232 m = 532 m = 1600 m = 1204 m = 3616 m = 536 m = 1816 m = 808 m = 9232 m = 916 m = 1624 m = 2752 m = 9232 m = 544 m = 1636 m = 820 m = 2464 m = 9232 m = 9232 m = 9232 m = 4192 m = 552 m = 9232 m = 832 m = 2500 m = 628 m = 1672 m = 1888 m = 8080 m = 560 m = 1684 m = 952 m = 2536 m = 564 m = 1696 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 9232 m = 9232 m = 4372 m = 13120 m = 576 m = 1732 m = 868 m = 2608 m = 9232 m = 9232 m = 9232 m = ...

7   Pass
nmax = 8120; pmax = 8153620; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 m = 52 m = 16 m = 40 m = 52 m = 160 m = 16 m = 52 m = 52 m = 88 m = 20 m = 64 m = 52 m = 160 m = 24 m = 88 m = 40 m = 9232 m = 52 m = 88 m = 160 m = 9232 m = 32 m = 100 m = 52 m = 160 m = 52 m = 112 m = 88 m = 304 m = 40 m = 9232 m = 64 m = 196 m = 52 m = 136 m = 160 m = 9232 m = 48 m = 148 m = 88 m = 232 m = 52 m = 160 m = 9232 m = 9232 m = 56 m = 196 m = 88 m = 304 m = 160 m = 184 m = 9232 m = 9232 m = 64 m = 196 m = 100 m = 304 m = 68 m = 208 m = 160 m = 9232 m = 72 m = 9232 m = 112 m = 340 m = 88 m = 232 m = 304 m = 808 m = 80 m = 244 m = 9232 m = 9232 m = 84 m = 256 m = 196 m = 592 m = 88 m = 304 m = 136 m = 9232 m = 160 m = 280 m = 9232 m = 9232 m = 96 m = 9232 m = 148 m = 448 m = 100 m = 304 m = 232 m = 9232 m = 104 m = 808 m = 160 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 112 m = 340 m = 196 m = 520 m = 116 m = 352 m = 304 m = 808 m = 160 m = 9232 m = 184 m = 628 m = 9232 m = 9232 m = 9232 m = 4372 m = 128 m = 9232 m = 196 m = 592 m = 132 m = 400 m = 304 m = 916 m = 136 m = 9232 m = 208 m = 628 m = 160 m = 424 m = 9232 m = 9232 m = 144 m = 9232 m = 9232 m = 9232 m = 148 m = 448 m = 340 m = 1024 m = 152 m = 520 m = 232 m = 9232 m = 304 m = 472 m = 808 m = 9232 m = 160 m = 9232 m = 244 m = 736 m = 9232 m = 9232 m = 9232 m = 9232 m = 168 m = 4372 m = 256 m = 9232 m = 196 m = 520 m = 592 m = 9232 m = 176 m = 532 m = 304 m = 808 m = 180 m = 544 m = 9232 m = 9232 m = 184 m = 628 m = 280 m = 952 m = 9232 m = 9232 m = 9232 m = 4372 m = 192 m = 9232 m = 9232 m = 9232 m = 196 m = 592 m = 448 m = 9232 m = 200 m = 1024 m = 304 m = 916 m = 232 m = 616 m = 9232 m = 9232 m = 208 m = 628 m = 808 m = 952 m = 212 m = 640 m = 9232 m = 9232 m = 9232 m = 736 m = 9232 m = 1672 m = 9232 m = 9232 m = 9232 m = 9232 m = 224 m = 4372 m = 340 m = 1024 m = 228 m = 688 m = 520 m = 9232 m = 232 m = 9232 m = 352 m = 9232 m = 304 m = 712 m = 808 m = 9232 m = 240 m = 724 m = 9232 m = 9232 m = 244 m = 736 m = 628 m = 1672 m = 9232 m = 952 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 13120 m = 256 m = 9232 m = 9232 m = 9232 m = 260 m = 784 m = 592 m = 9232 m = 264 m = 9232 m = 400 m = 1204 m = 304 m = 808 m = 916 m = 2752 m = 272 m = 820 m = 9232 m = 9232 m = 276 m = 832 m = 628 m = 1888 m = 280 m = 952 m = 424 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 288 m = 868 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2248 m = 296 m = 9232 m = 448 m = 9232 m = 340 m = 904 m = 1024 m = 3076 m = 304 m = 916 m = 520 m = 1384 m = 308 m = 928 m = 9232 m = 9232 m = 312 m = 9232 m = 472 m = 1600 m = 808 m = 952 m = 9232 m = 9232 m = 320 m = 964 m = 9232 m = 9232 m = 324 m = 976 m = 736 m = 9232 m = 9232 m = 1672 m = 9232 m = 1492 m = 9232 m = 9232 m = 9232 m = 9232 m = 336 m = 9232 m = 4372 m = 4372 m = 340 m = 1024 m = 9232 m = 9232 m = 344 m = 9232 m = 520 m = 9232 m = 592 m = 1048 m = 9232 m = 9232 m = 352 m = 9232 m = 532 m = 1600 m = 356 m = 1072 m = 808 m = 9232 m = 360 m = 2752 m = 544 m = 1636 m = 9232 m = 9232 m = 9232 m = 4192 m = 368 m = 1108 m = 628 m = 1672 m = 372 m = 1120 m = 952 m = 2536 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 9232 m = 4372 m = 13120 m = 384 m = 1156 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 392 m = 2248 m = 592 m = 9232 m = 448 m = 1192 m = 9232 m = 9232 m = 400 m = 1204 m = 1024 m = 1816 m = 404 m = 1216 m = 916 m = 2752 m = 408 m = 1384 m = 616 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 416 m = 9232 m = 628 m = 1888 m = 808 m = 1264 m = 952 m = 3220 m = 424 m = 9232 m = 640 m = 2752 m = 9232 m = 9232 m = 9232 m = 4372 m = 9232 m = 1300 m = 736 m = 1960 m = 9232 m = 9232 m = 1672 m = 2968 m = 9232 m = 1492 m = 9232 m = 2248 m = 9232 m = 9232 m = 9232 m = 39364 m = 448 m = 9232 m = 4372 m = 4372 m = 452 m = 1360 m = 1024 m = 3076 m = 456 m = 9232 m = 688 m = 9232 m = 520 m = 1384 m = 9232 m = 9232 m = 464 m = 1396 m = 9232 m = 9232 m = 468 m = 1408 m = 9232 m = 9232 m = 472 m = 1600 m = 712 m = 3616 m = 808 m = 1432 m = 9232 m = 9232 m = 480 m = 2752 m = 724 m = 2176 m = 9232 m = 9232 m = 9232 m = 9232 m = 488 m = 4192 m = 736 m = 9232 m = 628 m = 1480 m = 1672 m = 14308 m = 9232 m = 1492 m = 952 m = 2248 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 4372 m = 4372 m = 13120 m = 39364 m = 512 m = 1540 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 3508 m = 520 m = 9232 m = 784 m = 9232 m = 592 m = 1576 m = 9232 m = 9232 m = 528 m = 1588 m = 9232 m = 9232 m = 532 m = 1600 m = 1204 m = 3616 m = 536 m = 1816 m = 808 m = 9232 m = 916 m = 1624 m = 2752 m = 9232 m = 544 m = 1636 m = 820 m = 2464 m = 9232 m = 9232 m = 9232 m = 4192 m = 552 m = 9232 m = 832 m = 2500 m = 628 m = 1672 m = 1888 m = 8080 m = 560 m = 1684 m = 952 m = 2536 m = 564 m = 1696 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 9232 m = 9232 m = 4372 m = 13120 m = 576 m = 1732 m = 868 m = 2608 m = 9232 m = 9232 m = 9232 m = ...

8   Pass
nmax = 9998; pmax = 27114424; assert(isequal(peakOfPeaks(nmax),pmax))

m = 1 m = 2 m = 16 m = 4 m = 16 m = 16 m = 52 m = 8 m = 52 m = 16 m = 52 m = 16 m = 40 m = 52 m = 160 m = 16 m = 52 m = 52 m = 88 m = 20 m = 64 m = 52 m = 160 m = 24 m = 88 m = 40 m = 9232 m = 52 m = 88 m = 160 m = 9232 m = 32 m = 100 m = 52 m = 160 m = 52 m = 112 m = 88 m = 304 m = 40 m = 9232 m = 64 m = 196 m = 52 m = 136 m = 160 m = 9232 m = 48 m = 148 m = 88 m = 232 m = 52 m = 160 m = 9232 m = 9232 m = 56 m = 196 m = 88 m = 304 m = 160 m = 184 m = 9232 m = 9232 m = 64 m = 196 m = 100 m = 304 m = 68 m = 208 m = 160 m = 9232 m = 72 m = 9232 m = 112 m = 340 m = 88 m = 232 m = 304 m = 808 m = 80 m = 244 m = 9232 m = 9232 m = 84 m = 256 m = 196 m = 592 m = 88 m = 304 m = 136 m = 9232 m = 160 m = 280 m = 9232 m = 9232 m = 96 m = 9232 m = 148 m = 448 m = 100 m = 304 m = 232 m = 9232 m = 104 m = 808 m = 160 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 112 m = 340 m = 196 m = 520 m = 116 m = 352 m = 304 m = 808 m = 160 m = 9232 m = 184 m = 628 m = 9232 m = 9232 m = 9232 m = 4372 m = 128 m = 9232 m = 196 m = 592 m = 132 m = 400 m = 304 m = 916 m = 136 m = 9232 m = 208 m = 628 m = 160 m = 424 m = 9232 m = 9232 m = 144 m = 9232 m = 9232 m = 9232 m = 148 m = 448 m = 340 m = 1024 m = 152 m = 520 m = 232 m = 9232 m = 304 m = 472 m = 808 m = 9232 m = 160 m = 9232 m = 244 m = 736 m = 9232 m = 9232 m = 9232 m = 9232 m = 168 m = 4372 m = 256 m = 9232 m = 196 m = 520 m = 592 m = 9232 m = 176 m = 532 m = 304 m = 808 m = 180 m = 544 m = 9232 m = 9232 m = 184 m = 628 m = 280 m = 952 m = 9232 m = 9232 m = 9232 m = 4372 m = 192 m = 9232 m = 9232 m = 9232 m = 196 m = 592 m = 448 m = 9232 m = 200 m = 1024 m = 304 m = 916 m = 232 m = 616 m = 9232 m = 9232 m = 208 m = 628 m = 808 m = 952 m = 212 m = 640 m = 9232 m = 9232 m = 9232 m = 736 m = 9232 m = 1672 m = 9232 m = 9232 m = 9232 m = 9232 m = 224 m = 4372 m = 340 m = 1024 m = 228 m = 688 m = 520 m = 9232 m = 232 m = 9232 m = 352 m = 9232 m = 304 m = 712 m = 808 m = 9232 m = 240 m = 724 m = 9232 m = 9232 m = 244 m = 736 m = 628 m = 1672 m = 9232 m = 952 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 13120 m = 256 m = 9232 m = 9232 m = 9232 m = 260 m = 784 m = 592 m = 9232 m = 264 m = 9232 m = 400 m = 1204 m = 304 m = 808 m = 916 m = 2752 m = 272 m = 820 m = 9232 m = 9232 m = 276 m = 832 m = 628 m = 1888 m = 280 m = 952 m = 424 m = 9232 m = 9232 m = 9232 m = 9232 m = 4372 m = 288 m = 868 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2248 m = 296 m = 9232 m = 448 m = 9232 m = 340 m = 904 m = 1024 m = 3076 m = 304 m = 916 m = 520 m = 1384 m = 308 m = 928 m = 9232 m = 9232 m = 312 m = 9232 m = 472 m = 1600 m = 808 m = 952 m = 9232 m = 9232 m = 320 m = 964 m = 9232 m = 9232 m = 324 m = 976 m = 736 m = 9232 m = 9232 m = 1672 m = 9232 m = 1492 m = 9232 m = 9232 m = 9232 m = 9232 m = 336 m = 9232 m = 4372 m = 4372 m = 340 m = 1024 m = 9232 m = 9232 m = 344 m = 9232 m = 520 m = 9232 m = 592 m = 1048 m = 9232 m = 9232 m = 352 m = 9232 m = 532 m = 1600 m = 356 m = 1072 m = 808 m = 9232 m = 360 m = 2752 m = 544 m = 1636 m = 9232 m = 9232 m = 9232 m = 4192 m = 368 m = 1108 m = 628 m = 1672 m = 372 m = 1120 m = 952 m = 2536 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 9232 m = 4372 m = 13120 m = 384 m = 1156 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 392 m = 2248 m = 592 m = 9232 m = 448 m = 1192 m = 9232 m = 9232 m = 400 m = 1204 m = 1024 m = 1816 m = 404 m = 1216 m = 916 m = 2752 m = 408 m = 1384 m = 616 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 416 m = 9232 m = 628 m = 1888 m = 808 m = 1264 m = 952 m = 3220 m = 424 m = 9232 m = 640 m = 2752 m = 9232 m = 9232 m = 9232 m = 4372 m = 9232 m = 1300 m = 736 m = 1960 m = 9232 m = 9232 m = 1672 m = 2968 m = 9232 m = 1492 m = 9232 m = 2248 m = 9232 m = 9232 m = 9232 m = 39364 m = 448 m = 9232 m = 4372 m = 4372 m = 452 m = 1360 m = 1024 m = 3076 m = 456 m = 9232 m = 688 m = 9232 m = 520 m = 1384 m = 9232 m = 9232 m = 464 m = 1396 m = 9232 m = 9232 m = 468 m = 1408 m = 9232 m = 9232 m = 472 m = 1600 m = 712 m = 3616 m = 808 m = 1432 m = 9232 m = 9232 m = 480 m = 2752 m = 724 m = 2176 m = 9232 m = 9232 m = 9232 m = 9232 m = 488 m = 4192 m = 736 m = 9232 m = 628 m = 1480 m = 1672 m = 14308 m = 9232 m = 1492 m = 952 m = 2248 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 4372 m = 4372 m = 13120 m = 39364 m = 512 m = 1540 m = 9232 m = 9232 m = 9232 m = 9232 m = 9232 m = 3508 m = 520 m = 9232 m = 784 m = 9232 m = 592 m = 1576 m = 9232 m = 9232 m = 528 m = 1588 m = 9232 m = 9232 m = 532 m = 1600 m = 1204 m = 3616 m = 536 m = 1816 m = 808 m = 9232 m = 916 m = 1624 m = 2752 m = 9232 m = 544 m = 1636 m = 820 m = 2464 m = 9232 m = 9232 m = 9232 m = 4192 m = 552 m = 9232 m = 832 m = 2500 m = 628 m = 1672 m = 1888 m = 8080 m = 560 m = 1684 m = 952 m = 2536 m = 564 m = 1696 m = 9232 m = 9232 m = 9232 m = 2752 m = 9232 m = 2896 m = 9232 m = 9232 m = 4372 m = 13120 m = 576 m = 1732 m = 868 m = 2608 m = 9232 m = 9232 m = 9232 m = ...