diff options
| author | James Smith <js5@sanger.ac.uk> | 2022-06-10 15:26:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-10 15:26:14 +0100 |
| commit | 5ab544ff04f386bec6ccb92c47ae496fb325860c (patch) | |
| tree | f84a135bc806d31831e5cfa1a7ceee0dccb3ee82 | |
| parent | 905566119059032aca72c11fa1c335deeea31330 (diff) | |
| download | perlweeklychallenge-club-5ab544ff04f386bec6ccb92c47ae496fb325860c.tar.gz perlweeklychallenge-club-5ab544ff04f386bec6ccb92c47ae496fb325860c.tar.bz2 perlweeklychallenge-club-5ab544ff04f386bec6ccb92c47ae496fb325860c.zip | |
Added 31
| -rw-r--r-- | challenge-168/james-smith/README.md | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/challenge-168/james-smith/README.md b/challenge-168/james-smith/README.md index 3d43c04fbb..f718e332c8 100644 --- a/challenge-168/james-smith/README.md +++ b/challenge-168/james-smith/README.md @@ -478,6 +478,174 @@ possible factors, the 25th one has 1,111 digits, and the 30th has 5,496 digits. 970,380,697,900,097,084,372,073,404,742,203,924,384,784,058,976,489,341, 136,994,507,688,459,857,722,376,721,277,813,045,640,111,843,064,850,766, 721,412,366,086,437,793,051,607,940,240,686,212,503 + + 31 : 36,602,772,631,801,101,262,958,939,331,034,128,529,849,251,043,205,371,014, + 559,399,520,997,271,716,341,637,830,920,375,768,106,722,802,969,056,659, + 383,399,227,294,732,255,451,305,660,300,782,232,096,252,362,642,779,878, + 381,682,019,092,190,069,451,813,504,140,682,442,097,716,626,499,074,766, + 974,795,963,315,739,994,336,015,438,653,507,627,225,316,350,589,671,074, + 058,783,871,179,354,287,901,581,410,166,215,102,882,374,192,838,943,656, + 979,434,058,587,983,931,336,143,019,499,344,530,510,345,497,922,480,388, + 531,124,149,584,724,353,408,730,367,406,686,577,787,428,052,278,483,850, + 229,799,935,378,944,017,210,201,690,997,589,452,675,303,175,037,643,507, + 694,001,499,774,201,195,148,107,068,686,680,814,300,543,147,911,628,173, + 797,035,206,380,499,704,824,466,877,758,873,740,463,193,928,185,778,410, + 941,560,562,575,625,151,184,040,377,498,062,601,808,921,476,865,642,075, + 477,692,080,908,301,695,695,706,761,979,267,597,375,610,254,493,343,177, + 047,011,296,789,706,752,544,122,236,142,132,682,202,925,687,089,515,348, + 419,065,360,156,785,889,014,871,699,937,292,977,993,368,932,544,020,134, + 612,614,776,514,544,795,924,771,601,330,639,160,115,026,838,883,468,083, + 362,213,845,018,799,003,437,502,213,469,687,941,625,484,655,875,363,783, + 756,083,241,283,569,885,592,579,811,314,788,743,256,499,488,305,860,126, + 915,597,323,286,190,776,150,276,640,254,222,002,481,982,052,774,477,548, + 352,881,198,899,697,722,968,697,444,467,210,117,565,929,338,742,481,836, + 789,717,020,981,342,056,265,996,507,350,565,144,015,518,782,533,917,915, + 539,144,566,343,452,352,070,803,146,996,300,642,868,436,019,552,712,935, + 545,657,508,520,436,753,993,930,446,258,128,215,559,675,805,622,373,897, + 977,752,857,404,744,518,218,659,679,270,371,536,062,831,485,578,639,996, + 257,802,869,769,325,031,149,565,693,909,183,211,669,103,357,272,040,167, + 437,888,477,072,607,117,285,900,797,072,568,859,691,951,078,165,384,832, + 765,449,475,515,606,006,530,054,859,625,918,135,109,446,278,014,441,791, + 138,787,855,516,275,630,082,827,484,789,790,617,954,136,277,486,386,671, + 982,672,523,606,099,429,653,981,018,297,508,595,518,584,973,728,187,156, + 267,679,038,232,581,685,327,784,137,481,196,550,152,082,639,021,686,317, + 992,066,368,821,748,458,063,292,752,269,089,015,186,321,610,608,763,916, + 801,824,992,248,310,415,047,314,752,998,170,444,121,810,346,224,466,192, + 569,062,589,311,542,731,831,412,138,193,590,401,525,029,175,926,936,798, + 485,936,349,743,409,189,645,373,166,409,325,354,455,021,552,451,024,049, + 162,630,026,275,417,884,136,848,776,939,169,918,565,418,998,155,345,715, + 049,354,788,249,046,298,528,070,604,585,683,914,011,899,839,722,321,036, + 106,552,775,899,784,496,348,622,216,385,477,193,340,287,454,743,369,943, + 635,013,117,506,551,459,593,570,307,011,266,841,864,970,577,924,428,077, + 092,545,753,759,899,824,531,539,950,781,825,267,013,865,151,403,914,873, + 905,258,277,317,328,398,724,678,931,210,780,743,349,793,955,169,231,783, + 965,216,285,874,358,561,885,896,528,834,523,260,485,750,885,480,344,811, + 238,530,375,184,184,802,383,278,687,679,043,687,572,449,061,496,132,696, + 002,953,247,158,430,311,286,502,116,852,309,747,800,539,138,286,264,158, + 947,516,071,795,628,298,602,773,979,165,483,768,279,705,083,757,412,880, + 459,955,123,226,328,994,089,263,721,496,377,126,073,073,316,595,366,651, + 079,779,603,233,339,217,012,791,330,241,053,918,299,149,823,596,159,192, + 183,363,243,484,817,906,437,961,156,400,588,859,443,232,069,925,260,030, + 523,842,835,084,295,628,668,753,027,607,055,506,859,086,058,909,016,634, + 226,702,972,929,575,446,448,809,453,583,965,148,917,874,715,568,150,217, + 895,521,248,168,619,057,923,788,502,903,620,574,585,562,056,129,145,818, + 702,516,653,825,075,729,768,341,969,688,276,345,244,857,727,814,812,709, + 636,862,563,956,986,734,502,621,685,382,945,337,342,485,216,260,409,272, + 669,107,523,384,084,594,239,758,429,948,635,817,709,497,497,754,405,373, + 393,560,214,706,365,500,492,873,306,567,830,396,847,430,196,307,277,814, + 015,167,954,196,409,809,999,118,829,280,053,721,352,082,846,856,554,811, + 668,326,454,218,926,134,655,870,996,102,130,223,511,681,059,573,685,141, + 925,561,087,879,628,065,053,370,136,650,101,102,841,913,670,313,828,238, + 502,757,724,376,361,113,866,667,790,869,499,771,294,406,402,563,117,410, + 764,508,289,660,255,770,879,949,093,282,071,404,395,785,653,128,038,740, + 354,863,553,941,858,653,686,779,270,360,832,275,533,801,658,887,542,209, + 369,948,848,915,704,010,885,684,287,254,193,420,886,803,496,238,864,309, + 668,429,761,712,106,137,271,976,508,098,744,135,900,572,916,495,351,026, + 743,948,931,933,929,420,135,024,852,422,089,023,492,774,713,641,414,314, + 460,037,090,023,794,874,775,019,408,147,390,463,442,135,757,800,375,027, + 016,219,688,926,421,401,084,469,255,636,484,292,728,358,622,078,252,134, + 026,982,114,761,358,995,957,135,297,294,914,265,833,075,237,203,706,605, + 918,972,602,889,869,093,760,718,334,802,047,000,871,501,214,635,632,697, + 212,336,912,943,047,535,414,292,618,201,361,302,664,844,836,962,013,788, + 632,598,266,650,923,134,855,574,590,583,180,113,482,566,538,861,313,302, + 706,869,503,644,273,198,197,656,318,742,461,666,004,338,332,125,610,506, + 654,618,985,449,753,441,293,243,281,357,772,869,928,018,348,940,166,206, + 325,916,109,483,413,940,781,744,253,751,917,591,646,145,425,215,593,570, + 442,864,382,832,264,524,840,383,647,275,557,228,518,613,084,097,053,985, + 262,605,955,538,111,343,088,681,339,945,727,869,598,792,334,077,518,729, + 167,697,050,086,999,039,082,994,638,713,772,380,122,459,590,273,079,084, + 703,709,047,172,691,934,879,515,212,291,728,756,180,764,847,397,456,436, + 116,444,064,789,099,730,745,831,605,696,207,339,593,109,332,289,946,248, + 731,038,723,266,760,612,497,269,044,924,737,170,473,094,435,417,144,296, + 619,643,643,939,856,516,568,111,230,049,215,502,743,584,045,681,176,418, + 439,357,711,466,287,080,004,895,506,554,135,996,338,486,995,604,276,633, + 933,131,266,590,932,135,805,784,207,254,601,290,530,153,339,618,257,330, + 281,603,046,099,733,041,352,936,899,786,117,374,552,364,787,691,718,095, + 714,237,823,694,470,884,869,269,180,933,638,384,120,962,997,860,987,134, + 985,472,976,320,177,570,235,247,959,532,003,279,966,815,796,738,494,489, + 798,474,946,284,314,257,984,872,348,873,236,780,221,412,479,338,874,029, + 842,776,161,341,156,857,173,686,506,083,625,773,854,688,208,574,032,369, + 123,713,504,386,968,347,960,335,230,002,525,437,782,976,247,610,345,268, + 718,941,822,922,654,270,029,934,861,068,474,740,095,886,543,422,838,745, + 035,205,673,032,989,322,198,549,910,838,195,605,072,430,906,551,677,113, + 902,179,948,128,855,695,446,171,065,538,558,572,263,332,644,935,717,527, + 934,240,670,065,088,175,539,716,952,527,222,121,527,388,863,841,545,758, + 264,567,305,412,696,975,404,684,719,693,052,995,729,312,101,228,291,836, + 293,428,798,339,259,192,021,372,799,307,865,761,493,260,003,778,675,254, + 927,435,998,071,762,860,539,892,180,887,981,119,613,273,379,214,710,552, + 478,462,252,490,923,965,605,562,206,674,314,335,002,200,223,341,617,200, + 181,228,852,584,184,282,110,249,102,239,979,019,201,656,680,219,397,095, + 969,961,715,429,339,824,150,472,400,181,020,668,020,817,435,825,201,882, + 625,743,160,471,504,997,041,234,872,776,285,139,898,805,791,593,925,929, + 396,260,857,125,739,741,651,150,021,200,700,576,083,464,101,645,755,543, + 365,939,046,383,067,393,190,762,211,378,304,893,440,589,724,140,096,191, + 798,494,077,385,339,093,081,715,135,740,050,166,493,182,917,542,728,740, + 994,767,358,695,300,088,997,045,011,471,185,657,542,312,806,073,817,847, + 086,583,441,345,417,156,369,289,177,756,334,559,515,893,044,552,234,152, + 827,499,175,810,661,884,813,752,279,490,510,059,495,751,142,232,305,982, + 663,380,714,885,228,620,549,594,368,307,757,982,916,348,804,091,756,339, + 248,311,932,369,510,671,182,074,345,531,599,629,042,783,540,892,356,042, + 180,909,741,974,102,920,613,098,031,871,938,180,939,133,307,767,363,416, + 031,295,811,910,698,476,718,826,412,863,416,370,439,702,427,123,228,971, + 696,640,530,586,545,429,536,327,182,817,425,894,095,195,296,315,067,927, + 527,681,347,768,736,050,462,790,754,389,308,102,927,980,830,965,412,395, + 733,550,265,268,765,634,064,626,200,709,586,274,482,677,092,260,680,942, + 839,825,905,207,173,962,990,918,570,188,761,527,014,976,515,055,472,907, + 321,829,814,250,064,101,637,786,347,237,247,766,349,344,554,414,028,524, + 097,998,547,639,187,426,204,821,527,880,265,443,902,516,139,212,794,620, + 227,224,757,643,956,115,070,118,634,717,745,162,769,634,776,005,034,826, + 945,414,968,156,462,812,828,651,200,527,577,738,877,789,176,051,257,591, + 343,299,190,443,764,836,925,037,693,363,378,774,089,400,290,439,499,129, + 375,633,185,182,146,449,272,486,653,424,165,648,410,003,414,838,309,778, + 933,069,072,786,018,475,053,251,323,962,078,777,094,426,902,147,080,001, + 115,577,123,805,844,080,705,791,461,137,446,057,084,018,319,807,147,436, + 937,700,062,717,545,050,442,346,890,392,336,237,856,788,614,091,668,493, + 975,933,763,211,629,136,530,202,293,426,278,242,009,994,165,951,566,427, + 757,505,215,988,819,997,217,404,574,084,205,658,735,218,585,614,773,349, + 797,954,844,079,528,958,459,995,474,189,730,488,818,882,200,846,843,605, + 612,752,866,617,892,898,564,844,546,669,660,266,469,993,583,941,035,666, + 435,090,852,343,277,856,542,796,293,178,546,004,805,270,448,540,419,475, + 486,319,246,903,125,590,913,113,986,591,214,044,085,043,390,056,829,443, + 126,308,581,945,014,014,566,824,520,341,782,666,077,172,106,262,852,006, + 750,770,583,749,632,011,160,680,131,403,871,880,452,570,048,566,258,976, + 046,040,579,864,484,557,729,133,019,516,860,536,188,027,854,272,175,848, + 144,950,423,526,997,873,442,269,708,994,362,390,646,423,454,211,610,277, + 711,080,999,432,350,494,796,927,215,954,347,514,230,260,125,315,864,389, + 939,146,963,019,000,516,946,387,771,171,069,389,649,152,244,639,314,744, + 290,752,133,022,990,497,085,421,570,601,440,464,815,704,212,069,334,549, + 418,017,632,237,164,479,883,066,301,691,916,189,777,353,104,330,585,851, + 610,176,388,243,203,123,917,195,714,701,108,965,330,257,785,332,290,257, + 253,390,036,569,743,910,818,085,588,093,734,852,979,394,067,195,288,016, + 405,249,637,120,789,860,712,757,463,427,631,738,475,347,465,645,014,271, + 078,546,058,557,424,207,491,755,565,870,503,141,328,039,186,588,899,270, + 615,750,417,829,692,199,189,518,822,216,247,958,910,324,606,433,841,272, + 290,028,867,200,882,886,595,428,359,190,693,531,733,925,687,373,790,509, + 070,039,199,986,330,592,059,940,575,808,953,202,651,915,436,883,649,944, + 506,703,954,086,985,639,457,693,762,890,291,920,286,139,305,554,991,171, + 656,808,883,539,239,051,194,093,310,866,294,648,537,091,605,187,804,559, + 755,260,324,020,169,075,117,811,939,804,718,364,928,203,935,949,076,782, + 828,172,495,446,068,394,211,694,782,857,886,331,552,278,397,707,808,504, + 321,103,068,609,981,719,147,823,604,596,361,400,430,712,184,427,152,784, + 100,397,130,531,114,995,466,781,229,279,072,403,581,734,922,648,735,487, + 599,022,018,640,557,219,561,638,693,945,539,588,187,694,793,667,569,189, + 248,024,032,888,377,511,746,906,487,108,594,966,390,924,271,411,224,480, + 071,112,917,317,784,050,580,987,342,082,399,971,181,956,080,186,811,416, + 621,360,930,147,124,945,219,691,934,861,061,827,400,768,512,097,969,221, + 127,811,265,839,279,277,723,134,444,030,596,873,878,962,976,646,868,502, + 476,440,420,645,322,388,796,132,521,461,465,313,903,918,648,457,200,759, + 463,134,890,675,700,882,897,284,658,613,613,704,360,722,899,773,483,069, + 549,316,512,193,911,832,865,955,721,599,045,138,721,721,750,435,546,986, + 393,423,874,024,471,227,613,079,964,931,966,604,399,253,806,773,875,850, + 162,790,630,008,529,726,439,512,104,058,105,056,500,951,855,898,711,564, + 763,292,473,584,853,116,387,169,545,391,832,674,540,259,829,980,201,733, + 338,459,434,575,459,716,099,985,826,384,292,430,800,959,052,453,611,064, + 124,252,690,745,697,150,532,015,463,833,056,927,829,038,648,352,128,225, + 977,225,736,229,129,956,464,477,627,657,582,754,105,596,089,689,495,627, + 631,398,259,487,262,210,275,214,886,814,772,750,335,953,623,468,103,669, + 420,422,317,924,339,852,607,806,258,906,040,748,540,879,947,225,926,547, + 166,297,151,254,701,515,722,282,329,767,600,954,179,737,653,801,553,687, + 743,693,066,104,177,720,086,256,569,308,824,976,776,312,296,368,660,157, + 133,659,250,924,100,353,190,904,842,973,041,961,797,086,075,007 ``` # Challenge 2 - Home Prime |
