Cody

Problem 189. Sum all integers from 1 to 2^n

Solution 2878250

Submitted on 26 Aug 2020 by Joe
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
x = 3; y_correct = 36; assert(isequal(sum_int(x),y_correct))

a = 1 a = 3 a = 6 a = 10 a = 15 a = 21 a = 28 a = 36

2   Pass
x = 7; y_correct = 8256; assert(isequal(sum_int(x),y_correct))

a = 1 a = 3 a = 6 a = 10 a = 15 a = 21 a = 28 a = 36 a = 45 a = 55 a = 66 a = 78 a = 91 a = 105 a = 120 a = 136 a = 153 a = 171 a = 190 a = 210 a = 231 a = 253 a = 276 a = 300 a = 325 a = 351 a = 378 a = 406 a = 435 a = 465 a = 496 a = 528 a = 561 a = 595 a = 630 a = 666 a = 703 a = 741 a = 780 a = 820 a = 861 a = 903 a = 946 a = 990 a = 1035 a = 1081 a = 1128 a = 1176 a = 1225 a = 1275 a = 1326 a = 1378 a = 1431 a = 1485 a = 1540 a = 1596 a = 1653 a = 1711 a = 1770 a = 1830 a = 1891 a = 1953 a = 2016 a = 2080 a = 2145 a = 2211 a = 2278 a = 2346 a = 2415 a = 2485 a = 2556 a = 2628 a = 2701 a = 2775 a = 2850 a = 2926 a = 3003 a = 3081 a = 3160 a = 3240 a = 3321 a = 3403 a = 3486 a = 3570 a = 3655 a = 3741 a = 3828 a = 3916 a = 4005 a = 4095 a = 4186 a = 4278 a = 4371 a = 4465 a = 4560 a = 4656 a = 4753 a = 4851 a = 4950 a = 5050 a = 5151 a = 5253 a = 5356 a = 5460 a = 5565 a = 5671 a = 5778 a = 5886 a = 5995 a = 6105 a = 6216 a = 6328 a = 6441 a = 6555 a = 6670 a = 6786 a = 6903 a = 7021 a = 7140 a = 7260 a = 7381 a = 7503 a = 7626 a = 7750 a = 7875 a = 8001 a = 8128 a = 8256

3   Pass
x = 10; y_correct = 524800; assert(isequal(sum_int(x),y_correct))

a = 1 a = 3 a = 6 a = 10 a = 15 a = 21 a = 28 a = 36 a = 45 a = 55 a = 66 a = 78 a = 91 a = 105 a = 120 a = 136 a = 153 a = 171 a = 190 a = 210 a = 231 a = 253 a = 276 a = 300 a = 325 a = 351 a = 378 a = 406 a = 435 a = 465 a = 496 a = 528 a = 561 a = 595 a = 630 a = 666 a = 703 a = 741 a = 780 a = 820 a = 861 a = 903 a = 946 a = 990 a = 1035 a = 1081 a = 1128 a = 1176 a = 1225 a = 1275 a = 1326 a = 1378 a = 1431 a = 1485 a = 1540 a = 1596 a = 1653 a = 1711 a = 1770 a = 1830 a = 1891 a = 1953 a = 2016 a = 2080 a = 2145 a = 2211 a = 2278 a = 2346 a = 2415 a = 2485 a = 2556 a = 2628 a = 2701 a = 2775 a = 2850 a = 2926 a = 3003 a = 3081 a = 3160 a = 3240 a = 3321 a = 3403 a = 3486 a = 3570 a = 3655 a = 3741 a = 3828 a = 3916 a = 4005 a = 4095 a = 4186 a = 4278 a = 4371 a = 4465 a = 4560 a = 4656 a = 4753 a = 4851 a = 4950 a = 5050 a = 5151 a = 5253 a = 5356 a = 5460 a = 5565 a = 5671 a = 5778 a = 5886 a = 5995 a = 6105 a = 6216 a = 6328 a = 6441 a = 6555 a = 6670 a = 6786 a = 6903 a = 7021 a = 7140 a = 7260 a = 7381 a = 7503 a = 7626 a = 7750 a = 7875 a = 8001 a = 8128 a = 8256 a = 8385 a = 8515 a = 8646 a = 8778 a = 8911 a = 9045 a = 9180 a = 9316 a = 9453 a = 9591 a = 9730 a = 9870 a = 10011 a = 10153 a = 10296 a = 10440 a = 10585 a = 10731 a = 10878 a = 11026 a = 11175 a = 11325 a = 11476 a = 11628 a = 11781 a = 11935 a = 12090 a = 12246 a = 12403 a = 12561 a = 12720 a = 12880 a = 13041 a = 13203 a = 13366 a = 13530 a = 13695 a = 13861 a = 14028 a = 14196 a = 14365 a = 14535 a = 14706 a = 14878 a = 15051 a = 15225 a = 15400 a = 15576 a = 15753 a = 15931 a = 16110 a = 16290 a = 16471 a = 16653 a = 16836 a = 17020 a = 17205 a = 17391 a = 17578 a = 17766 a = 17955 a = 18145 a = 18336 a = 18528 a = 18721 a = 18915 a = 19110 a = 19306 a = 19503 a = 19701 a = 19900 a = 20100 a = 20301 a = 20503 a = 20706 a = 20910 a = 21115 a = 21321 a = 21528 a = 21736 a = 21945 a = 22155 a = 22366 a = 22578 a = 22791 a = 23005 a = 23220 a = 23436 a = 23653 a = 23871 a = 24090 a = 24310 a = 24531 a = 24753 a = 24976 a = 25200 a = 25425 a = 25651 a = 25878 a = 26106 a = 26335 a = 26565 a = 26796 a = 27028 a = 27261 a = 27495 a = 27730 a = 27966 a = 28203 a = 28441 a = 28680 a = 28920 a = 29161 a = 29403 a = 29646 a = 29890 a = 30135 a = 30381 a = 30628 a = 30876 a = 31125 a = 31375 a = 31626 a = 31878 a = 32131 a = 32385 a = 32640 a = 32896 a = 33153 a = 33411 a = 33670 a = 33930 a = 34191 a = 34453 a = 34716 a = 34980 a = 35245 a = 35511 a = 35778 a = 36046 a = 36315 a = 36585 a = 36856 a = 37128 a = 37401 a = 37675 a = 37950 a = 38226 a = 38503 a = 38781 a = 39060 a = 39340 a = 39621 a = 39903 a = 40186 a = 40470 a = 40755 a = 41041 a = 41328 a = 41616 a = 41905 a = 42195 a = 42486 a = 42778 a = 43071 a = 43365 a = 43660 a = 43956 a = 44253 a = 44551 a = 44850 a = 45150 a = 45451 a = 45753 a = 46056 a = 46360 a = 46665 a = 46971 a = 47278 a = 47586 a = 47895 a = 48205 a = 48516 a = 48828 a = 49141 a = 49455 a = 49770 a = 50086 a = 50403 a = 50721 a = 51040 a = 51360 a = 51681 a = 52003 a = 52326 a = 52650 a = 52975 a = 53301 a = 53628 a = 53956 a = 54285 a = 54615 a = 54946 a = 55278 a = 55611 a = 55945 a = 56280 a = 56616 a = 56953 a = 57291 a = 57630 a = 57970 a = 58311 a = 58653 a = 58996 a = 59340 a = 59685 a = 60031 a = 60378 a = 60726 a = 61075 a = 61425 a = 61776 a = 62128 a = 62481 a = 62835 a = 63190 a = 63546 a = 63903 a = 64261 a = 64620 a = 64980 a = 65341 a = 65703 a = 66066 a = 66430 a = 66795 a = 67161 a = 67528 a = 67896 a = 68265 a = 68635 a = 69006 a = 69378 a = 69751 a = 70125 a = 70500 a = 70876 a = 71253 a = 71631 a = 72010 a = 72390 a = 72771 a = 73153 a = 73536 a = 73920 a = 74305 a = 74691 a = 75078 a = 75466 a = 75855 a = 76245 a = 76636 a = 77028 a = 77421 a = 77815 a = 78210 a = 78606 a = 79003 a = 79401 a = 79800 a = 80200 a = 80601 a = 81003 a = 81406 a = 81810 a = 82215 a = 82621 a = 83028 a = 83436 a = 83845 a = 84255 a = 84666 a = 85078 a = 85491 a = 85905 a = 86320 a = 86736 a = 87153 a = 87571 a = 87990 a = 88410 a = 88831 a = 89253 a = 89676 a = 90100 a = 90525 a = 90951 a = 91378 a = 91806 a = 92235 a = 92665 a = 93096 a = 93528 a = 93961 a = 94395 a = 94830 a = 95266 a = 95703 a = 96141 a = 96580 a = 97020 a = 97461 a = 97903 a = 98346 a = 98790 a = 99235 a = 99681 a = 100128 a = 100576 a = 101025 a = 101475 a = 101926 a = 102378 a = 102831 a = 103285 a = 103740 a = 104196 a = 104653 a = 105111 a = 105570 a = 106030 a = 106491 a = 106953 a = 107416 a = 107880 a = 108345 a = 108811 a = 109278 a = 109746 a = 110215 a = 110685 a = 111156 a = 111628 a = 112101 a = 112575 a = 113050 a = 113526 a = 114003 a = 114481 a = 114960 a = 115440 a = 115921 a = 116403 a = 116886 a = 117370 a = 117855 a = 118341 a = 118828 a = 119316 a = 119805 a = 120295 a = 120786 a = 121278 a = 121771 a = 122265 a = 122760 a = 123256 a = 123753 a = 124251 a = 124750 a = 125250 a = 125751 a = 126253 a = 126756 a = 127260 a = 127765 a = 128271 a = 128778 a = 129286 a = 129795 a = 130305 a = 130816 a = 131328 a = 131841 a = ...

4   Pass
x = 11; y_correct = 2098176; assert(isequal(sum_int(x),y_correct))

a = 1 a = 3 a = 6 a = 10 a = 15 a = 21 a = 28 a = 36 a = 45 a = 55 a = 66 a = 78 a = 91 a = 105 a = 120 a = 136 a = 153 a = 171 a = 190 a = 210 a = 231 a = 253 a = 276 a = 300 a = 325 a = 351 a = 378 a = 406 a = 435 a = 465 a = 496 a = 528 a = 561 a = 595 a = 630 a = 666 a = 703 a = 741 a = 780 a = 820 a = 861 a = 903 a = 946 a = 990 a = 1035 a = 1081 a = 1128 a = 1176 a = 1225 a = 1275 a = 1326 a = 1378 a = 1431 a = 1485 a = 1540 a = 1596 a = 1653 a = 1711 a = 1770 a = 1830 a = 1891 a = 1953 a = 2016 a = 2080 a = 2145 a = 2211 a = 2278 a = 2346 a = 2415 a = 2485 a = 2556 a = 2628 a = 2701 a = 2775 a = 2850 a = 2926 a = 3003 a = 3081 a = 3160 a = 3240 a = 3321 a = 3403 a = 3486 a = 3570 a = 3655 a = 3741 a = 3828 a = 3916 a = 4005 a = 4095 a = 4186 a = 4278 a = 4371 a = 4465 a = 4560 a = 4656 a = 4753 a = 4851 a = 4950 a = 5050 a = 5151 a = 5253 a = 5356 a = 5460 a = 5565 a = 5671 a = 5778 a = 5886 a = 5995 a = 6105 a = 6216 a = 6328 a = 6441 a = 6555 a = 6670 a = 6786 a = 6903 a = 7021 a = 7140 a = 7260 a = 7381 a = 7503 a = 7626 a = 7750 a = 7875 a = 8001 a = 8128 a = 8256 a = 8385 a = 8515 a = 8646 a = 8778 a = 8911 a = 9045 a = 9180 a = 9316 a = 9453 a = 9591 a = 9730 a = 9870 a = 10011 a = 10153 a = 10296 a = 10440 a = 10585 a = 10731 a = 10878 a = 11026 a = 11175 a = 11325 a = 11476 a = 11628 a = 11781 a = 11935 a = 12090 a = 12246 a = 12403 a = 12561 a = 12720 a = 12880 a = 13041 a = 13203 a = 13366 a = 13530 a = 13695 a = 13861 a = 14028 a = 14196 a = 14365 a = 14535 a = 14706 a = 14878 a = 15051 a = 15225 a = 15400 a = 15576 a = 15753 a = 15931 a = 16110 a = 16290 a = 16471 a = 16653 a = 16836 a = 17020 a = 17205 a = 17391 a = 17578 a = 17766 a = 17955 a = 18145 a = 18336 a = 18528 a = 18721 a = 18915 a = 19110 a = 19306 a = 19503 a = 19701 a = 19900 a = 20100 a = 20301 a = 20503 a = 20706 a = 20910 a = 21115 a = 21321 a = 21528 a = 21736 a = 21945 a = 22155 a = 22366 a = 22578 a = 22791 a = 23005 a = 23220 a = 23436 a = 23653 a = 23871 a = 24090 a = 24310 a = 24531 a = 24753 a = 24976 a = 25200 a = 25425 a = 25651 a = 25878 a = 26106 a = 26335 a = 26565 a = 26796 a = 27028 a = 27261 a = 27495 a = 27730 a = 27966 a = 28203 a = 28441 a = 28680 a = 28920 a = 29161 a = 29403 a = 29646 a = 29890 a = 30135 a = 30381 a = 30628 a = 30876 a = 31125 a = 31375 a = 31626 a = 31878 a = 32131 a = 32385 a = 32640 a = 32896 a = 33153 a = 33411 a = 33670 a = 33930 a = 34191 a = 34453 a = 34716 a = 34980 a = 35245 a = 35511 a = 35778 a = 36046 a = 36315 a = 36585 a = 36856 a = 37128 a = 37401 a = 37675 a = 37950 a = 38226 a = 38503 a = 38781 a = 39060 a = 39340 a = 39621 a = 39903 a = 40186 a = 40470 a = 40755 a = 41041 a = 41328 a = 41616 a = 41905 a = 42195 a = 42486 a = 42778 a = 43071 a = 43365 a = 43660 a = 43956 a = 44253 a = 44551 a = 44850 a = 45150 a = 45451 a = 45753 a = 46056 a = 46360 a = 46665 a = 46971 a = 47278 a = 47586 a = 47895 a = 48205 a = 48516 a = 48828 a = 49141 a = 49455 a = 49770 a = 50086 a = 50403 a = 50721 a = 51040 a = 51360 a = 51681 a = 52003 a = 52326 a = 52650 a = 52975 a = 53301 a = 53628 a = 53956 a = 54285 a = 54615 a = 54946 a = 55278 a = 55611 a = 55945 a = 56280 a = 56616 a = 56953 a = 57291 a = 57630 a = 57970 a = 58311 a = 58653 a = 58996 a = 59340 a = 59685 a = 60031 a = 60378 a = 60726 a = 61075 a = 61425 a = 61776 a = 62128 a = 62481 a = 62835 a = 63190 a = 63546 a = 63903 a = 64261 a = 64620 a = 64980 a = 65341 a = 65703 a = 66066 a = 66430 a = 66795 a = 67161 a = 67528 a = 67896 a = 68265 a = 68635 a = 69006 a = 69378 a = 69751 a = 70125 a = 70500 a = 70876 a = 71253 a = 71631 a = 72010 a = 72390 a = 72771 a = 73153 a = 73536 a = 73920 a = 74305 a = 74691 a = 75078 a = 75466 a = 75855 a = 76245 a = 76636 a = 77028 a = 77421 a = 77815 a = 78210 a = 78606 a = 79003 a = 79401 a = 79800 a = 80200 a = 80601 a = 81003 a = 81406 a = 81810 a = 82215 a = 82621 a = 83028 a = 83436 a = 83845 a = 84255 a = 84666 a = 85078 a = 85491 a = 85905 a = 86320 a = 86736 a = 87153 a = 87571 a = 87990 a = 88410 a = 88831 a = 89253 a = 89676 a = 90100 a = 90525 a = 90951 a = 91378 a = 91806 a = 92235 a = 92665 a = 93096 a = 93528 a = 93961 a = 94395 a = 94830 a = 95266 a = 95703 a = 96141 a = 96580 a = 97020 a = 97461 a = 97903 a = 98346 a = 98790 a = 99235 a = 99681 a = 100128 a = 100576 a = 101025 a = 101475 a = 101926 a = 102378 a = 102831 a = 103285 a = 103740 a = 104196 a = 104653 a = 105111 a = 105570 a = 106030 a = 106491 a = 106953 a = 107416 a = 107880 a = 108345 a = 108811 a = 109278 a = 109746 a = 110215 a = 110685 a = 111156 a = 111628 a = 112101 a = 112575 a = 113050 a = 113526 a = 114003 a = 114481 a = 114960 a = 115440 a = 115921 a = 116403 a = 116886 a = 117370 a = 117855 a = 118341 a = 118828 a = 119316 a = 119805 a = 120295 a = 120786 a = 121278 a = 121771 a = 122265 a = 122760 a = 123256 a = 123753 a = 124251 a = 124750 a = 125250 a = 125751 a = 126253 a = 126756 a = 127260 a = 127765 a = 128271 a = 128778 a = 129286 a = 129795 a = 130305 a = 130816 a = 131328 a = 131841 a = ...

5   Pass
x = 14; y_correct = 134225920; assert(isequal(sum_int(x),y_correct))

a = 1 a = 3 a = 6 a = 10 a = 15 a = 21 a = 28 a = 36 a = 45 a = 55 a = 66 a = 78 a = 91 a = 105 a = 120 a = 136 a = 153 a = 171 a = 190 a = 210 a = 231 a = 253 a = 276 a = 300 a = 325 a = 351 a = 378 a = 406 a = 435 a = 465 a = 496 a = 528 a = 561 a = 595 a = 630 a = 666 a = 703 a = 741 a = 780 a = 820 a = 861 a = 903 a = 946 a = 990 a = 1035 a = 1081 a = 1128 a = 1176 a = 1225 a = 1275 a = 1326 a = 1378 a = 1431 a = 1485 a = 1540 a = 1596 a = 1653 a = 1711 a = 1770 a = 1830 a = 1891 a = 1953 a = 2016 a = 2080 a = 2145 a = 2211 a = 2278 a = 2346 a = 2415 a = 2485 a = 2556 a = 2628 a = 2701 a = 2775 a = 2850 a = 2926 a = 3003 a = 3081 a = 3160 a = 3240 a = 3321 a = 3403 a = 3486 a = 3570 a = 3655 a = 3741 a = 3828 a = 3916 a = 4005 a = 4095 a = 4186 a = 4278 a = 4371 a = 4465 a = 4560 a = 4656 a = 4753 a = 4851 a = 4950 a = 5050 a = 5151 a = 5253 a = 5356 a = 5460 a = 5565 a = 5671 a = 5778 a = 5886 a = 5995 a = 6105 a = 6216 a = 6328 a = 6441 a = 6555 a = 6670 a = 6786 a = 6903 a = 7021 a = 7140 a = 7260 a = 7381 a = 7503 a = 7626 a = 7750 a = 7875 a = 8001 a = 8128 a = 8256 a = 8385 a = 8515 a = 8646 a = 8778 a = 8911 a = 9045 a = 9180 a = 9316 a = 9453 a = 9591 a = 9730 a = 9870 a = 10011 a = 10153 a = 10296 a = 10440 a = 10585 a = 10731 a = 10878 a = 11026 a = 11175 a = 11325 a = 11476 a = 11628 a = 11781 a = 11935 a = 12090 a = 12246 a = 12403 a = 12561 a = 12720 a = 12880 a = 13041 a = 13203 a = 13366 a = 13530 a = 13695 a = 13861 a = 14028 a = 14196 a = 14365 a = 14535 a = 14706 a = 14878 a = 15051 a = 15225 a = 15400 a = 15576 a = 15753 a = 15931 a = 16110 a = 16290 a = 16471 a = 16653 a = 16836 a = 17020 a = 17205 a = 17391 a = 17578 a = 17766 a = 17955 a = 18145 a = 18336 a = 18528 a = 18721 a = 18915 a = 19110 a = 19306 a = 19503 a = 19701 a = 19900 a = 20100 a = 20301 a = 20503 a = 20706 a = 20910 a = 21115 a = 21321 a = 21528 a = 21736 a = 21945 a = 22155 a = 22366 a = 22578 a = 22791 a = 23005 a = 23220 a = 23436 a = 23653 a = 23871 a = 24090 a = 24310 a = 24531 a = 24753 a = 24976 a = 25200 a = 25425 a = 25651 a = 25878 a = 26106 a = 26335 a = 26565 a = 26796 a = 27028 a = 27261 a = 27495 a = 27730 a = 27966 a = 28203 a = 28441 a = 28680 a = 28920 a = 29161 a = 29403 a = 29646 a = 29890 a = 30135 a = 30381 a = 30628 a = 30876 a = 31125 a = 31375 a = 31626 a = 31878 a = 32131 a = 32385 a = 32640 a = 32896 a = 33153 a = 33411 a = 33670 a = 33930 a = 34191 a = 34453 a = 34716 a = 34980 a = 35245 a = 35511 a = 35778 a = 36046 a = 36315 a = 36585 a = 36856 a = 37128 a = 37401 a = 37675 a = 37950 a = 38226 a = 38503 a = 38781 a = 39060 a = 39340 a = 39621 a = 39903 a = 40186 a = 40470 a = 40755 a = 41041 a = 41328 a = 41616 a = 41905 a = 42195 a = 42486 a = 42778 a = 43071 a = 43365 a = 43660 a = 43956 a = 44253 a = 44551 a = 44850 a = 45150 a = 45451 a = 45753 a = 46056 a = 46360 a = 46665 a = 46971 a = 47278 a = 47586 a = 47895 a = 48205 a = 48516 a = 48828 a = 49141 a = 49455 a = 49770 a = 50086 a = 50403 a = 50721 a = 51040 a = 51360 a = 51681 a = 52003 a = 52326 a = 52650 a = 52975 a = 53301 a = 53628 a = 53956 a = 54285 a = 54615 a = 54946 a = 55278 a = 55611 a = 55945 a = 56280 a = 56616 a = 56953 a = 57291 a = 57630 a = 57970 a = 58311 a = 58653 a = 58996 a = 59340 a = 59685 a = 60031 a = 60378 a = 60726 a = 61075 a = 61425 a = 61776 a = 62128 a = 62481 a = 62835 a = 63190 a = 63546 a = 63903 a = 64261 a = 64620 a = 64980 a = 65341 a = 65703 a = 66066 a = 66430 a = 66795 a = 67161 a = 67528 a = 67896 a = 68265 a = 68635 a = 69006 a = 69378 a = 69751 a = 70125 a = 70500 a = 70876 a = 71253 a = 71631 a = 72010 a = 72390 a = 72771 a = 73153 a = 73536 a = 73920 a = 74305 a = 74691 a = 75078 a = 75466 a = 75855 a = 76245 a = 76636 a = 77028 a = 77421 a = 77815 a = 78210 a = 78606 a = 79003 a = 79401 a = 79800 a = 80200 a = 80601 a = 81003 a = 81406 a = 81810 a = 82215 a = 82621 a = 83028 a = 83436 a = 83845 a = 84255 a = 84666 a = 85078 a = 85491 a = 85905 a = 86320 a = 86736 a = 87153 a = 87571 a = 87990 a = 88410 a = 88831 a = 89253 a = 89676 a = 90100 a = 90525 a = 90951 a = 91378 a = 91806 a = 92235 a = 92665 a = 93096 a = 93528 a = 93961 a = 94395 a = 94830 a = 95266 a = 95703 a = 96141 a = 96580 a = 97020 a = 97461 a = 97903 a = 98346 a = 98790 a = 99235 a = 99681 a = 100128 a = 100576 a = 101025 a = 101475 a = 101926 a = 102378 a = 102831 a = 103285 a = 103740 a = 104196 a = 104653 a = 105111 a = 105570 a = 106030 a = 106491 a = 106953 a = 107416 a = 107880 a = 108345 a = 108811 a = 109278 a = 109746 a = 110215 a = 110685 a = 111156 a = 111628 a = 112101 a = 112575 a = 113050 a = 113526 a = 114003 a = 114481 a = 114960 a = 115440 a = 115921 a = 116403 a = 116886 a = 117370 a = 117855 a = 118341 a = 118828 a = 119316 a = 119805 a = 120295 a = 120786 a = 121278 a = 121771 a = 122265 a = 122760 a = 123256 a = 123753 a = 124251 a = 124750 a = 125250 a = 125751 a = 126253 a = 126756 a = 127260 a = 127765 a = 128271 a = 128778 a = 129286 a = 129795 a = 130305 a = 130816 a = 131328 a = 131841 a = ...

6   Pass
x = 17; y_correct = 8590000128; assert(isequal(sum_int(x),y_correct))

a = 1 a = 3 a = 6 a = 10 a = 15 a = 21 a = 28 a = 36 a = 45 a = 55 a = 66 a = 78 a = 91 a = 105 a = 120 a = 136 a = 153 a = 171 a = 190 a = 210 a = 231 a = 253 a = 276 a = 300 a = 325 a = 351 a = 378 a = 406 a = 435 a = 465 a = 496 a = 528 a = 561 a = 595 a = 630 a = 666 a = 703 a = 741 a = 780 a = 820 a = 861 a = 903 a = 946 a = 990 a = 1035 a = 1081 a = 1128 a = 1176 a = 1225 a = 1275 a = 1326 a = 1378 a = 1431 a = 1485 a = 1540 a = 1596 a = 1653 a = 1711 a = 1770 a = 1830 a = 1891 a = 1953 a = 2016 a = 2080 a = 2145 a = 2211 a = 2278 a = 2346 a = 2415 a = 2485 a = 2556 a = 2628 a = 2701 a = 2775 a = 2850 a = 2926 a = 3003 a = 3081 a = 3160 a = 3240 a = 3321 a = 3403 a = 3486 a = 3570 a = 3655 a = 3741 a = 3828 a = 3916 a = 4005 a = 4095 a = 4186 a = 4278 a = 4371 a = 4465 a = 4560 a = 4656 a = 4753 a = 4851 a = 4950 a = 5050 a = 5151 a = 5253 a = 5356 a = 5460 a = 5565 a = 5671 a = 5778 a = 5886 a = 5995 a = 6105 a = 6216 a = 6328 a = 6441 a = 6555 a = 6670 a = 6786 a = 6903 a = 7021 a = 7140 a = 7260 a = 7381 a = 7503 a = 7626 a = 7750 a = 7875 a = 8001 a = 8128 a = 8256 a = 8385 a = 8515 a = 8646 a = 8778 a = 8911 a = 9045 a = 9180 a = 9316 a = 9453 a = 9591 a = 9730 a = 9870 a = 10011 a = 10153 a = 10296 a = 10440 a = 10585 a = 10731 a = 10878 a = 11026 a = 11175 a = 11325 a = 11476 a = 11628 a = 11781 a = 11935 a = 12090 a = 12246 a = 12403 a = 12561 a = 12720 a = 12880 a = 13041 a = 13203 a = 13366 a = 13530 a = 13695 a = 13861 a = 14028 a = 14196 a = 14365 a = 14535 a = 14706 a = 14878 a = 15051 a = 15225 a = 15400 a = 15576 a = 15753 a = 15931 a = 16110 a = 16290 a = 16471 a = 16653 a = 16836 a = 17020 a = 17205 a = 17391 a = 17578 a = 17766 a = 17955 a = 18145 a = 18336 a = 18528 a = 18721 a = 18915 a = 19110 a = 19306 a = 19503 a = 19701 a = 19900 a = 20100 a = 20301 a = 20503 a = 20706 a = 20910 a = 21115 a = 21321 a = 21528 a = 21736 a = 21945 a = 22155 a = 22366 a = 22578 a = 22791 a = 23005 a = 23220 a = 23436 a = 23653 a = 23871 a = 24090 a = 24310 a = 24531 a = 24753 a = 24976 a = 25200 a = 25425 a = 25651 a = 25878 a = 26106 a = 26335 a = 26565 a = 26796 a = 27028 a = 27261 a = 27495 a = 27730 a = 27966 a = 28203 a = 28441 a = 28680 a = 28920 a = 29161 a = 29403 a = 29646 a = 29890 a = 30135 a = 30381 a = 30628 a = 30876 a = 31125 a = 31375 a = 31626 a = 31878 a = 32131 a = 32385 a = 32640 a = 32896 a = 33153 a = 33411 a = 33670 a = 33930 a = 34191 a = 34453 a = 34716 a = 34980 a = 35245 a = 35511 a = 35778 a = 36046 a = 36315 a = 36585 a = 36856 a = 37128 a = 37401 a = 37675 a = 37950 a = 38226 a = 38503 a = 38781 a = 39060 a = 39340 a = 39621 a = 39903 a = 40186 a = 40470 a = 40755 a = 41041 a = 41328 a = 41616 a = 41905 a = 42195 a = 42486 a = 42778 a = 43071 a = 43365 a = 43660 a = 43956 a = 44253 a = 44551 a = 44850 a = 45150 a = 45451 a = 45753 a = 46056 a = 46360 a = 46665 a = 46971 a = 47278 a = 47586 a = 47895 a = 48205 a = 48516 a = 48828 a = 49141 a = 49455 a = 49770 a = 50086 a = 50403 a = 50721 a = 51040 a = 51360 a = 51681 a = 52003 a = 52326 a = 52650 a = 52975 a = 53301 a = 53628 a = 53956 a = 54285 a = 54615 a = 54946 a = 55278 a = 55611 a = 55945 a = 56280 a = 56616 a = 56953 a = 57291 a = 57630 a = 57970 a = 58311 a = 58653 a = 58996 a = 59340 a = 59685 a = 60031 a = 60378 a = 60726 a = 61075 a = 61425 a = 61776 a = 62128 a = 62481 a = 62835 a = 63190 a = 63546 a = 63903 a = 64261 a = 64620 a = 64980 a = 65341 a = 65703 a = 66066 a = 66430 a = 66795 a = 67161 a = 67528 a = 67896 a = 68265 a = 68635 a = 69006 a = 69378 a = 69751 a = 70125 a = 70500 a = 70876 a = 71253 a = 71631 a = 72010 a = 72390 a = 72771 a = 73153 a = 73536 a = 73920 a = 74305 a = 74691 a = 75078 a = 75466 a = 75855 a = 76245 a = 76636 a = 77028 a = 77421 a = 77815 a = 78210 a = 78606 a = 79003 a = 79401 a = 79800 a = 80200 a = 80601 a = 81003 a = 81406 a = 81810 a = 82215 a = 82621 a = 83028 a = 83436 a = 83845 a = 84255 a = 84666 a = 85078 a = 85491 a = 85905 a = 86320 a = 86736 a = 87153 a = 87571 a = 87990 a = 88410 a = 88831 a = 89253 a = 89676 a = 90100 a = 90525 a = 90951 a = 91378 a = 91806 a = 92235 a = 92665 a = 93096 a = 93528 a = 93961 a = 94395 a = 94830 a = 95266 a = 95703 a = 96141 a = 96580 a = 97020 a = 97461 a = 97903 a = 98346 a = 98790 a = 99235 a = 99681 a = 100128 a = 100576 a = 101025 a = 101475 a = 101926 a = 102378 a = 102831 a = 103285 a = 103740 a = 104196 a = 104653 a = 105111 a = 105570 a = 106030 a = 106491 a = 106953 a = 107416 a = 107880 a = 108345 a = 108811 a = 109278 a = 109746 a = 110215 a = 110685 a = 111156 a = 111628 a = 112101 a = 112575 a = 113050 a = 113526 a = 114003 a = 114481 a = 114960 a = 115440 a = 115921 a = 116403 a = 116886 a = 117370 a = 117855 a = 118341 a = 118828 a = 119316 a = 119805 a = 120295 a = 120786 a = 121278 a = 121771 a = 122265 a = 122760 a = 123256 a = 123753 a = 124251 a = 124750 a = 125250 a = 125751 a = 126253 a = 126756 a = 127260 a = 127765 a = 128271 a = 128778 a = 129286 a = 129795 a = 130305 a = 130816 a = 131328 a = 131841 a = ...

Suggested Problems

More from this Author1

Community Treasure Hunt

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

Start Hunting!