Cody

Solution 943645

Submitted on 26 Aug 2016 by Riazul Arefin
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
r=138;p=844;rings=3; assert(isequal(solve_rings(r,p),rings))

a = Columns 1 through 8 19044 19600 20164 20736 21316 21904 22500 23104 Columns 9 through 16 23716 24336 24964 25600 26244 26896 27556 28224 Columns 17 through 24 28900 29584 30276 30976 31684 32400 33124 33856 Columns 25 through 32 34596 35344 36100 36864 37636 38416 39204 40000 Columns 33 through 40 40804 41616 42436 43264 44100 44944 45796 46656 Columns 41 through 48 47524 48400 49284 50176 51076 51984 52900 53824 Columns 49 through 56 54756 55696 56644 57600 58564 59536 60516 61504 Columns 57 through 64 62500 63504 64516 65536 66564 67600 68644 69696 Columns 65 through 72 70756 71824 72900 73984 75076 76176 77284 78400 Columns 73 through 80 79524 80656 81796 82944 84100 85264 86436 87616 Columns 81 through 88 88804 90000 91204 92416 93636 94864 96100 97344 Columns 89 through 96 98596 99856 101124 102400 103684 104976 106276 107584 Columns 97 through 104 108900 110224 111556 112896 114244 115600 116964 118336 Columns 105 through 112 119716 121104 122500 123904 125316 126736 128164 129600 Columns 113 through 120 131044 132496 133956 135424 136900 138384 139876 141376 Columns 121 through 128 142884 144400 145924 147456 148996 150544 152100 153664 Columns 129 through 136 155236 156816 158404 160000 161604 163216 164836 166464 Columns 137 through 144 168100 169744 171396 173056 174724 176400 178084 179776 Columns 145 through 152 181476 183184 184900 186624 188356 190096 191844 193600 Columns 153 through 160 195364 197136 198916 200704 202500 204304 206116 207936 Columns 161 through 168 209764 211600 213444 215296 217156 219024 220900 222784 Columns 169 through 176 224676 226576 228484 230400 232324 234256 236196 238144 Columns 177 through 184 240100 242064 244036 246016 248004 250000 252004 254016 Columns 185 through 192 256036 258064 260100 262144 264196 266256 268324 270400 Columns 193 through 200 272484 274576 276676 278784 280900 283024 285156 287296 Columns 201 through 208 289444 291600 293764 295936 298116 300304 302500 304704 Columns 209 through 216 306916 309136 311364 313600 315844 318096 320356 322624 Columns 217 through 224 324900 327184 329476 331776 334084 336400 338724 341056 Columns 225 through 232 343396 345744 348100 350464 352836 355216 357604 360000 Columns 233 through 240 362404 364816 367236 369664 372100 374544 376996 379456 Columns 241 through 248 381924 384400 386884 389376 391876 394384 396900 399424 Columns 249 through 256 401956 404496 407044 409600 412164 414736 417316 419904 Columns 257 through 264 422500 425104 427716 430336 432964 435600 438244 440896 Columns 265 through 272 443556 446224 448900 451584 454276 456976 459684 462400 Columns 273 through 280 465124 467856 470596 473344 476100 478864 481636 484416 Columns 281 through 288 487204 490000 492804 495616 498436 501264 504100 506944 Columns 289 through 296 509796 512656 515524 518400 521284 524176 527076 529984 Columns 297 through 304 532900 535824 538756 541696 544644 547600 550564 553536 Columns 305 through 312 556516 559504 562500 565504 568516 571536 574564 577600 Columns 313 through 320 580644 583696 586756 589824 592900 595984 599076 602176 Columns 321 through 328 605284 608400 611524 614656 617796 620944 624100 627264 Columns 329 through 336 630436 633616 636804 640000 643204 646416 649636 652864 Columns 337 through 344 656100 659344 662596 665856 669124 672400 675684 678976 Columns 345 through 352 682276 685584 688900 692224 695556 698896 702244 705600 Columns 353 through 354 708964 712336 b = Columns 1 through 8 19321 19881 20449 21025 21609 22201 22801 23409 Columns 9 through 16 24025 24649 25281 25921 26569 27225 27889 28561 Columns 17 through 24 29241 29929 30625 31329 32041 32761 33489 34225 Columns 25 through 32 34969 35721 36481 37249 38025 38809 39601 40401 Columns 33 through 40 41209 42025 42849 43681 44521 45369 46225 47089 Columns 41 through 48 47961 48841 49729 50625 51529 52441 53361 54289 Columns 49 through 56 55225 56169 57121 58081 59049 60025 61009 62001 Columns 57 through 64 63001 64009 65025 66049 67081 68121 69169 70225 Columns 65 through 72 71289 72361 73441 74529 75625 76729 77841 78961 Columns 73 through 80 80089 81225 82369 83521 84681 85849 87025 88209 Columns 81 through 88 89401 90601 91809 93025 94249 95481 96721 97969 Columns 89 through 96 99225 100489 101761 103041 104329 105625 106929 108241 Columns 97 through 104 109561 110889 112225 113569 114921 116281 117649 119025 Columns 105 through 112 120409 121801 123201 124609 126025 127449 128881 130321 Columns 113 through 120 131769 133225 134689 136161 137641 139129 140625 142129 Columns 121 through 128 143641 145161 146689 148225 149769 151321 152881 154449 Columns 129 through 136 156025 157609 159201 160801 162409 164025 165649 167281 Columns 137 through 144 168921 170569 172225 173889 175561 177241 178929 180625 Columns 145 through 152 182329 184041 185761 187489 189225 190969 192721 194481 Columns 153 through 160 196249 198025 199809 201601 203401 205209 207025 208849 Columns 161 through 168 210681 212521 214369 216225 218089 219961 221841 223729 Columns 169 through 176 225625 227529 229441 231361 233289 235225 237169 239121 Columns 177 through 184 241081 243049 245025 247009 249001 251001 253009 255025 Columns 185 through 192 257049 259081 261121 263169 265225 267289 269361 271441 Columns 193 through 200 273529 275625 277729 279841 281961 284089 286225 288369 Columns 201 through 208 290521 292681 294849 297025 299209 301401 303601 305809 Columns 209 through 216 308025 310249 312481 314721 316969 319225 321489 323761 Columns 217 through 224 326041 328329 330625 332929 335241 337561 339889 342225 Columns 225 through 232 344569 346921 349281 351649 354025 356409 358801 361201 Columns 233 through 240 363609 366025 368449 370881 373321 375769 378225 380689 Columns 241 through 248 383161 385641 388129 390625 393129 395641 398161 400689 Columns 249 through 256 403225 405769 408321 410881 413449 416025 418609 421201 Columns 257 through 264 423801 426409 429025 431649 434281 436921 439569 442225 Columns 265 through 272 444889 447561 450241 452929 455625 458329 461041 463761 Columns 273 through 280 466489 469225 471969 474721 477481 480249 483025 485809 Columns 281 through 288 488601 491401 494209 497025 499849 502681 505521 ...

2   Pass
r=21;p=197;rings=4; assert(isequal(solve_rings(r,p),rings))

a = Columns 1 through 8 441 529 625 729 841 961 1089 1225 Columns 9 through 16 1369 1521 1681 1849 2025 2209 2401 2601 Columns 17 through 24 2809 3025 3249 3481 3721 3969 4225 4489 Columns 25 through 32 4761 5041 5329 5625 5929 6241 6561 6889 Columns 33 through 40 7225 7569 7921 8281 8649 9025 9409 9801 Columns 41 through 48 10201 10609 11025 11449 11881 12321 12769 13225 Columns 49 through 56 13689 14161 14641 15129 15625 16129 16641 17161 Columns 57 through 64 17689 18225 18769 19321 19881 20449 21025 21609 Columns 65 through 72 22201 22801 23409 24025 24649 25281 25921 26569 Columns 73 through 80 27225 27889 28561 29241 29929 30625 31329 32041 Columns 81 through 88 32761 33489 34225 34969 35721 36481 37249 38025 Column 89 38809 b = Columns 1 through 8 484 576 676 784 900 1024 1156 1296 Columns 9 through 16 1444 1600 1764 1936 2116 2304 2500 2704 Columns 17 through 24 2916 3136 3364 3600 3844 4096 4356 4624 Columns 25 through 32 4900 5184 5476 5776 6084 6400 6724 7056 Columns 33 through 40 7396 7744 8100 8464 8836 9216 9604 10000 Columns 41 through 48 10404 10816 11236 11664 12100 12544 12996 13456 Columns 49 through 56 13924 14400 14884 15376 15876 16384 16900 17424 Columns 57 through 64 17956 18496 19044 19600 20164 20736 21316 21904 Columns 65 through 72 22500 23104 23716 24336 24964 25600 26244 26896 Columns 73 through 80 27556 28224 28900 29584 30276 30976 31684 32400 Columns 81 through 88 33124 33856 34596 35344 36100 36864 37636 38416 Column 89 39204

3   Pass
r=214;p=862;rings=2; assert(isequal(solve_rings(r,p),rings))

a = Columns 1 through 8 45796 46656 47524 48400 49284 50176 51076 51984 Columns 9 through 16 52900 53824 54756 55696 56644 57600 58564 59536 Columns 17 through 24 60516 61504 62500 63504 64516 65536 66564 67600 Columns 25 through 32 68644 69696 70756 71824 72900 73984 75076 76176 Columns 33 through 40 77284 78400 79524 80656 81796 82944 84100 85264 Columns 41 through 48 86436 87616 88804 90000 91204 92416 93636 94864 Columns 49 through 56 96100 97344 98596 99856 101124 102400 103684 104976 Columns 57 through 64 106276 107584 108900 110224 111556 112896 114244 115600 Columns 65 through 72 116964 118336 119716 121104 122500 123904 125316 126736 Columns 73 through 80 128164 129600 131044 132496 133956 135424 136900 138384 Columns 81 through 88 139876 141376 142884 144400 145924 147456 148996 150544 Columns 89 through 96 152100 153664 155236 156816 158404 160000 161604 163216 Columns 97 through 104 164836 166464 168100 169744 171396 173056 174724 176400 Columns 105 through 112 178084 179776 181476 183184 184900 186624 188356 190096 Columns 113 through 120 191844 193600 195364 197136 198916 200704 202500 204304 Columns 121 through 128 206116 207936 209764 211600 213444 215296 217156 219024 Columns 129 through 136 220900 222784 224676 226576 228484 230400 232324 234256 Columns 137 through 144 236196 238144 240100 242064 244036 246016 248004 250000 Columns 145 through 152 252004 254016 256036 258064 260100 262144 264196 266256 Columns 153 through 160 268324 270400 272484 274576 276676 278784 280900 283024 Columns 161 through 168 285156 287296 289444 291600 293764 295936 298116 300304 Columns 169 through 176 302500 304704 306916 309136 311364 313600 315844 318096 Columns 177 through 184 320356 322624 324900 327184 329476 331776 334084 336400 Columns 185 through 192 338724 341056 343396 345744 348100 350464 352836 355216 Columns 193 through 200 357604 360000 362404 364816 367236 369664 372100 374544 Columns 201 through 208 376996 379456 381924 384400 386884 389376 391876 394384 Columns 209 through 216 396900 399424 401956 404496 407044 409600 412164 414736 Columns 217 through 224 417316 419904 422500 425104 427716 430336 432964 435600 Columns 225 through 232 438244 440896 443556 446224 448900 451584 454276 456976 Columns 233 through 240 459684 462400 465124 467856 470596 473344 476100 478864 Columns 241 through 248 481636 484416 487204 490000 492804 495616 498436 501264 Columns 249 through 256 504100 506944 509796 512656 515524 518400 521284 524176 Columns 257 through 264 527076 529984 532900 535824 538756 541696 544644 547600 Columns 265 through 272 550564 553536 556516 559504 562500 565504 568516 571536 Columns 273 through 280 574564 577600 580644 583696 586756 589824 592900 595984 Columns 281 through 288 599076 602176 605284 608400 611524 614656 617796 620944 Columns 289 through 296 624100 627264 630436 633616 636804 640000 643204 646416 Columns 297 through 304 649636 652864 656100 659344 662596 665856 669124 672400 Columns 305 through 312 675684 678976 682276 685584 688900 692224 695556 698896 Columns 313 through 320 702244 705600 708964 712336 715716 719104 722500 725904 Columns 321 through 325 729316 732736 736164 739600 743044 b = Columns 1 through 8 46225 47089 47961 48841 49729 50625 51529 52441 Columns 9 through 16 53361 54289 55225 56169 57121 58081 59049 60025 Columns 17 through 24 61009 62001 63001 64009 65025 66049 67081 68121 Columns 25 through 32 69169 70225 71289 72361 73441 74529 75625 76729 Columns 33 through 40 77841 78961 80089 81225 82369 83521 84681 85849 Columns 41 through 48 87025 88209 89401 90601 91809 93025 94249 95481 Columns 49 through 56 96721 97969 99225 100489 101761 103041 104329 105625 Columns 57 through 64 106929 108241 109561 110889 112225 113569 114921 116281 Columns 65 through 72 117649 119025 120409 121801 123201 124609 126025 127449 Columns 73 through 80 128881 130321 131769 133225 134689 136161 137641 139129 Columns 81 through 88 140625 142129 143641 145161 146689 148225 149769 151321 Columns 89 through 96 152881 154449 156025 157609 159201 160801 162409 164025 Columns 97 through 104 165649 167281 168921 170569 172225 173889 175561 177241 Columns 105 through 112 178929 180625 182329 184041 185761 187489 189225 190969 Columns 113 through 120 192721 194481 196249 198025 199809 201601 203401 205209 Columns 121 through 128 207025 208849 210681 212521 214369 216225 218089 219961 Columns 129 through 136 221841 223729 225625 227529 229441 231361 233289 235225 Columns 137 through 144 237169 239121 241081 243049 245025 247009 249001 251001 Columns 145 through 152 253009 255025 257049 259081 261121 263169 265225 267289 Columns 153 through 160 269361 271441 273529 275625 277729 279841 281961 284089 Columns 161 through 168 286225 288369 290521 292681 294849 297025 299209 301401 Columns 169 through 176 303601 305809 308025 310249 312481 314721 316969 319225 Columns 177 through 184 321489 323761 326041 328329 330625 332929 335241 337561 Columns 185 through 192 339889 342225 344569 346921 349281 351649 354025 356409 Columns 193 through 200 358801 361201 363609 366025 368449 370881 373321 375769 Columns 201 through 208 378225 380689 383161 385641 388129 390625 393129 395641 Columns 209 through 216 398161 400689 403225 405769 408321 410881 413449 416025 Columns 217 through 224 418609 421201 423801 426409 429025 431649 434281 436921 Columns 225 through 232 439569 442225 444889 447561 450241 452929 455625 458329 Columns 233 through 240 461041 463761 466489 469225 471969 474721 477481 480249 Columns 241 through 248 483025 485809 488601 491401 494209 497025 499849 502681 Columns 249 through 256 505521 508369 511225 514089 516961 519841 522729 525625 Columns 257 through 264 528529 531441 534361 537289 540225 543169 546121 549081 Columns 265 through 272 552049 555025 558009 561001 564001 567009 570025 573049 Columns 273 through 280 576081 579121 582169 585225 588289 591361 594441 597529 Columns 281 through 288 600625 603729 606841 609961 613089 616225 619369 622521 Columns 289 through 296 625681 628849 632025 635209 638401 641601 644809 648025 Columns 297 through 304 651249 654481 657721 660969 664225 667489 670761 674041 Columns 305 through 312 677329 680625 683929 687241 690561 693889 697225 700569 Columns 313 through 320 703921 707281 710649 714025 ...

4   Pass
r=20;p=845;rings=13; assert(isequal(solve_rings(r,p),rings))

a = Columns 1 through 8 400 484 576 676 784 900 1024 1156 Columns 9 through 16 1296 1444 1600 1764 1936 2116 2304 2500 Columns 17 through 24 2704 2916 3136 3364 3600 3844 4096 4356 Columns 25 through 32 4624 4900 5184 5476 5776 6084 6400 6724 Columns 33 through 40 7056 7396 7744 8100 8464 8836 9216 9604 Columns 41 through 48 10000 10404 10816 11236 11664 12100 12544 12996 Columns 49 through 56 13456 13924 14400 14884 15376 15876 16384 16900 Columns 57 through 64 17424 17956 18496 19044 19600 20164 20736 21316 Columns 65 through 72 21904 22500 23104 23716 24336 24964 25600 26244 Columns 73 through 80 26896 27556 28224 28900 29584 30276 30976 31684 Columns 81 through 88 32400 33124 33856 34596 35344 36100 36864 37636 Columns 89 through 96 38416 39204 40000 40804 41616 42436 43264 44100 Columns 97 through 104 44944 45796 46656 47524 48400 49284 50176 51076 Columns 105 through 112 51984 52900 53824 54756 55696 56644 57600 58564 Columns 113 through 120 59536 60516 61504 62500 63504 64516 65536 66564 Columns 121 through 128 67600 68644 69696 70756 71824 72900 73984 75076 Columns 129 through 136 76176 77284 78400 79524 80656 81796 82944 84100 Columns 137 through 144 85264 86436 87616 88804 90000 91204 92416 93636 Columns 145 through 152 94864 96100 97344 98596 99856 101124 102400 103684 Columns 153 through 160 104976 106276 107584 108900 110224 111556 112896 114244 Columns 161 through 168 115600 116964 118336 119716 121104 122500 123904 125316 Columns 169 through 176 126736 128164 129600 131044 132496 133956 135424 136900 Columns 177 through 184 138384 139876 141376 142884 144400 145924 147456 148996 Columns 185 through 192 150544 152100 153664 155236 156816 158404 160000 161604 Columns 193 through 200 163216 164836 166464 168100 169744 171396 173056 174724 Columns 201 through 208 176400 178084 179776 181476 183184 184900 186624 188356 Columns 209 through 216 190096 191844 193600 195364 197136 198916 200704 202500 Columns 217 through 224 204304 206116 207936 209764 211600 213444 215296 217156 Columns 225 through 232 219024 220900 222784 224676 226576 228484 230400 232324 Columns 233 through 240 234256 236196 238144 240100 242064 244036 246016 248004 Columns 241 through 248 250000 252004 254016 256036 258064 260100 262144 264196 Columns 249 through 256 266256 268324 270400 272484 274576 276676 278784 280900 Columns 257 through 264 283024 285156 287296 289444 291600 293764 295936 298116 Columns 265 through 272 300304 302500 304704 306916 309136 311364 313600 315844 Columns 273 through 280 318096 320356 322624 324900 327184 329476 331776 334084 Columns 281 through 288 336400 338724 341056 343396 345744 348100 350464 352836 Columns 289 through 296 355216 357604 360000 362404 364816 367236 369664 372100 Columns 297 through 304 374544 376996 379456 381924 384400 386884 389376 391876 Columns 305 through 312 394384 396900 399424 401956 404496 407044 409600 412164 Columns 313 through 320 414736 417316 419904 422500 425104 427716 430336 432964 Columns 321 through 328 435600 438244 440896 443556 446224 448900 451584 454276 Columns 329 through 336 456976 459684 462400 465124 467856 470596 473344 476100 Columns 337 through 344 478864 481636 484416 487204 490000 492804 495616 498436 Columns 345 through 352 501264 504100 506944 509796 512656 515524 518400 521284 Columns 353 through 360 524176 527076 529984 532900 535824 538756 541696 544644 Columns 361 through 368 547600 550564 553536 556516 559504 562500 565504 568516 Columns 369 through 376 571536 574564 577600 580644 583696 586756 589824 592900 Columns 377 through 384 595984 599076 602176 605284 608400 611524 614656 617796 Columns 385 through 392 620944 624100 627264 630436 633616 636804 640000 643204 Columns 393 through 400 646416 649636 652864 656100 659344 662596 665856 669124 Columns 401 through 408 672400 675684 678976 682276 685584 688900 692224 695556 Columns 409 through 413 698896 702244 705600 708964 712336 b = Columns 1 through 8 441 529 625 729 841 961 1089 1225 Columns 9 through 16 1369 1521 1681 1849 2025 2209 2401 2601 Columns 17 through 24 2809 3025 3249 3481 3721 3969 4225 4489 Columns 25 through 32 4761 5041 5329 5625 5929 6241 6561 6889 Columns 33 through 40 7225 7569 7921 8281 8649 9025 9409 9801 Columns 41 through 48 10201 10609 11025 11449 11881 12321 12769 13225 Columns 49 through 56 13689 14161 14641 15129 15625 16129 16641 17161 Columns 57 through 64 17689 18225 18769 19321 19881 20449 21025 21609 Columns 65 through 72 22201 22801 23409 24025 24649 25281 25921 26569 Columns 73 through 80 27225 27889 28561 29241 29929 30625 31329 32041 Columns 81 through 88 32761 33489 34225 34969 35721 36481 37249 38025 Columns 89 through 96 38809 39601 40401 41209 42025 42849 43681 44521 Columns 97 through 104 45369 46225 47089 47961 48841 49729 50625 51529 Columns 105 through 112 52441 53361 54289 55225 56169 57121 58081 59049 Columns 113 through 120 60025 61009 62001 63001 64009 65025 66049 67081 Columns 121 through 128 68121 69169 70225 71289 72361 73441 74529 75625 Columns 129 through 136 76729 77841 78961 80089 81225 82369 83521 84681 Columns 137 through 144 85849 87025 88209 89401 90601 91809 93025 94249 Columns 145 through 152 95481 96721 97969 99225 100489 101761 103041 104329 Columns 153 through 160 105625 106929 108241 109561 110889 112225 113569 114921 Columns 161 through 168 116281 117649 119025 120409 121801 123201 124609 126025 Columns 169 through 176 127449 128881 130321 131769 133225 134689 136161 137641 Columns 177 through 184 139129 140625 142129 143641 145161 146689 148225 149769 Columns 185 through 192 151321 152881 154449 156025 157609 159201 160801 162409 Columns 193 through 200 164025 165649 167281 168921 170569 172225 173889 175561 Columns 201 through 208 177241 178929 180625 182329 184041 185761 187489 189225 Columns 209 through 216 190969 192721 194481 196249 198025 199809 201601 203401 Columns 217 through 224 205209 207025 208849 210681 212521 214369 216225 218089 Columns 225 through 232 219961 221841 223729 225625 ...

5   Pass
r=20;p=844;rings=12; assert(isequal(solve_rings(r,p),rings))

a = Columns 1 through 8 400 484 576 676 784 900 1024 1156 Columns 9 through 16 1296 1444 1600 1764 1936 2116 2304 2500 Columns 17 through 24 2704 2916 3136 3364 3600 3844 4096 4356 Columns 25 through 32 4624 4900 5184 5476 5776 6084 6400 6724 Columns 33 through 40 7056 7396 7744 8100 8464 8836 9216 9604 Columns 41 through 48 10000 10404 10816 11236 11664 12100 12544 12996 Columns 49 through 56 13456 13924 14400 14884 15376 15876 16384 16900 Columns 57 through 64 17424 17956 18496 19044 19600 20164 20736 21316 Columns 65 through 72 21904 22500 23104 23716 24336 24964 25600 26244 Columns 73 through 80 26896 27556 28224 28900 29584 30276 30976 31684 Columns 81 through 88 32400 33124 33856 34596 35344 36100 36864 37636 Columns 89 through 96 38416 39204 40000 40804 41616 42436 43264 44100 Columns 97 through 104 44944 45796 46656 47524 48400 49284 50176 51076 Columns 105 through 112 51984 52900 53824 54756 55696 56644 57600 58564 Columns 113 through 120 59536 60516 61504 62500 63504 64516 65536 66564 Columns 121 through 128 67600 68644 69696 70756 71824 72900 73984 75076 Columns 129 through 136 76176 77284 78400 79524 80656 81796 82944 84100 Columns 137 through 144 85264 86436 87616 88804 90000 91204 92416 93636 Columns 145 through 152 94864 96100 97344 98596 99856 101124 102400 103684 Columns 153 through 160 104976 106276 107584 108900 110224 111556 112896 114244 Columns 161 through 168 115600 116964 118336 119716 121104 122500 123904 125316 Columns 169 through 176 126736 128164 129600 131044 132496 133956 135424 136900 Columns 177 through 184 138384 139876 141376 142884 144400 145924 147456 148996 Columns 185 through 192 150544 152100 153664 155236 156816 158404 160000 161604 Columns 193 through 200 163216 164836 166464 168100 169744 171396 173056 174724 Columns 201 through 208 176400 178084 179776 181476 183184 184900 186624 188356 Columns 209 through 216 190096 191844 193600 195364 197136 198916 200704 202500 Columns 217 through 224 204304 206116 207936 209764 211600 213444 215296 217156 Columns 225 through 232 219024 220900 222784 224676 226576 228484 230400 232324 Columns 233 through 240 234256 236196 238144 240100 242064 244036 246016 248004 Columns 241 through 248 250000 252004 254016 256036 258064 260100 262144 264196 Columns 249 through 256 266256 268324 270400 272484 274576 276676 278784 280900 Columns 257 through 264 283024 285156 287296 289444 291600 293764 295936 298116 Columns 265 through 272 300304 302500 304704 306916 309136 311364 313600 315844 Columns 273 through 280 318096 320356 322624 324900 327184 329476 331776 334084 Columns 281 through 288 336400 338724 341056 343396 345744 348100 350464 352836 Columns 289 through 296 355216 357604 360000 362404 364816 367236 369664 372100 Columns 297 through 304 374544 376996 379456 381924 384400 386884 389376 391876 Columns 305 through 312 394384 396900 399424 401956 404496 407044 409600 412164 Columns 313 through 320 414736 417316 419904 422500 425104 427716 430336 432964 Columns 321 through 328 435600 438244 440896 443556 446224 448900 451584 454276 Columns 329 through 336 456976 459684 462400 465124 467856 470596 473344 476100 Columns 337 through 344 478864 481636 484416 487204 490000 492804 495616 498436 Columns 345 through 352 501264 504100 506944 509796 512656 515524 518400 521284 Columns 353 through 360 524176 527076 529984 532900 535824 538756 541696 544644 Columns 361 through 368 547600 550564 553536 556516 559504 562500 565504 568516 Columns 369 through 376 571536 574564 577600 580644 583696 586756 589824 592900 Columns 377 through 384 595984 599076 602176 605284 608400 611524 614656 617796 Columns 385 through 392 620944 624100 627264 630436 633616 636804 640000 643204 Columns 393 through 400 646416 649636 652864 656100 659344 662596 665856 669124 Columns 401 through 408 672400 675684 678976 682276 685584 688900 692224 695556 Columns 409 through 413 698896 702244 705600 708964 712336 b = Columns 1 through 8 441 529 625 729 841 961 1089 1225 Columns 9 through 16 1369 1521 1681 1849 2025 2209 2401 2601 Columns 17 through 24 2809 3025 3249 3481 3721 3969 4225 4489 Columns 25 through 32 4761 5041 5329 5625 5929 6241 6561 6889 Columns 33 through 40 7225 7569 7921 8281 8649 9025 9409 9801 Columns 41 through 48 10201 10609 11025 11449 11881 12321 12769 13225 Columns 49 through 56 13689 14161 14641 15129 15625 16129 16641 17161 Columns 57 through 64 17689 18225 18769 19321 19881 20449 21025 21609 Columns 65 through 72 22201 22801 23409 24025 24649 25281 25921 26569 Columns 73 through 80 27225 27889 28561 29241 29929 30625 31329 32041 Columns 81 through 88 32761 33489 34225 34969 35721 36481 37249 38025 Columns 89 through 96 38809 39601 40401 41209 42025 42849 43681 44521 Columns 97 through 104 45369 46225 47089 47961 48841 49729 50625 51529 Columns 105 through 112 52441 53361 54289 55225 56169 57121 58081 59049 Columns 113 through 120 60025 61009 62001 63001 64009 65025 66049 67081 Columns 121 through 128 68121 69169 70225 71289 72361 73441 74529 75625 Columns 129 through 136 76729 77841 78961 80089 81225 82369 83521 84681 Columns 137 through 144 85849 87025 88209 89401 90601 91809 93025 94249 Columns 145 through 152 95481 96721 97969 99225 100489 101761 103041 104329 Columns 153 through 160 105625 106929 108241 109561 110889 112225 113569 114921 Columns 161 through 168 116281 117649 119025 120409 121801 123201 124609 126025 Columns 169 through 176 127449 128881 130321 131769 133225 134689 136161 137641 Columns 177 through 184 139129 140625 142129 143641 145161 146689 148225 149769 Columns 185 through 192 151321 152881 154449 156025 157609 159201 160801 162409 Columns 193 through 200 164025 165649 167281 168921 170569 172225 173889 175561 Columns 201 through 208 177241 178929 180625 182329 184041 185761 187489 189225 Columns 209 through 216 190969 192721 194481 196249 198025 199809 201601 203401 Columns 217 through 224 205209 207025 208849 210681 212521 214369 216225 218089 Columns 225 through 232 219961 221841 223729 225625 ...