From bfb0b1166a4d43f7f7450e62c7bad5b2a6634c1a Mon Sep 17 00:00:00 2001 From: James Smith Date: Sat, 25 Jun 2022 02:54:15 +0100 Subject: Update README.md --- challenge-169/james-smith/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/challenge-169/james-smith/README.md b/challenge-169/james-smith/README.md index fb95af0dfc..761ed04166 100644 --- a/challenge-169/james-smith/README.md +++ b/challenge-169/james-smith/README.md @@ -237,6 +237,31 @@ Some examples for larger values of `n` are: | 325,000 | 81,981,196,443 | 33.551032 | | 350,000 | 94,917,245,000 | 23.54.43572 | | 375,000 | 108,802,180,800 | 26.35.52.234 | +| 400,000 | 123,623,945,500 | 22.53.113.4312 | +| 425,000 | 139,380,371,325 | 36.52.133.592 | +| 450,000 | 156,087,946,125 | 32.53.117792 | +| 475,000 | 173,733,903,648 | 25.36.27292 | +| 500,000 | 192,302,155,612 | 22.73.118392 | +| 525,000 | 211,812,977,475 | 32.52.113.294 | +| 550,000 | 232,275,648,200 | 23.52.532.6432 | +| 575,000 | 253,653,177,148 | 22.73.135972 | +| 600,000 | 275,972,670,000 | 24.35.54.3372 | +| 625,000 | 299,230,934,400 | 27.33.52.18612 | +| 650,000 | 323,432,005,175 | 52.473.3532 | +| 675,000 | 348,549,042,888 | 23.32.412.16972 | +| 700,000 | 374,611,070,700 | 22.33.52.117792 | +| 725,000 | 401,600,467,125 | 33.53.113.132.232 | +| 750,000 | 429,542,144,712 | 23.32.772392 | +| 775,000 | 458,391,256,875 | 32.54.193.1092 | +| 800,000 | 488,186,710,964 | 22.293.22372 | +| 825,000 | 518,923,743,752 | 23.2572.9912 | +| 850,000 | 550,582,402,248 | 23.34.1032.2832 | +| 875,000 | 583,157,667,200 | 27.52.193.1632 | +| 900,000 | 616,689,640,125 | 32.53.132.18012 | +| 925,000 | 651,153,828,125 | 57.28872 | +| 950,000 | 686,540,147,825 | 52.73.4313 | +| 975,000 | 722,830,618,800 | 24.311.52.1012 | +| 1,000,000 | 760,089,707,712 | 26.35.69912 | And these are the first numbers with `n` digits... @@ -253,6 +278,7 @@ And these are the first numbers with `n` digits... | 10 | 34,562 | 1,000,042,200 | 23.36.52.193 | | 11 | 111,892 | 10,000,373,888 | 27.88392 | | 12 | 359,341 | 100,001,075,328 | 27.32.72.116 | +| 13 | 1,148,196 | 1,000,002,788,575 | 52.73.107992 | ### Github formatting script.... -- cgit From 444f7742f15f9ac192ff7a9be4048b99f1bf11a2 Mon Sep 17 00:00:00 2001 From: James Smith Date: Sat, 25 Jun 2022 03:08:29 +0100 Subject: Update README.md --- challenge-170/james-smith/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/challenge-170/james-smith/README.md b/challenge-170/james-smith/README.md index 629ef1711c..c542579da3 100644 --- a/challenge-170/james-smith/README.md +++ b/challenge-170/james-smith/README.md @@ -45,6 +45,23 @@ say$a=1;forprimes{say$a*=$_}nth_prime 9 # 39 bytes say$a=1;forprimes{say$a*=$_}23 # 30 bytes ``` +### Aside - Last week's challenge - Achilles numbers. + +There is a connection with last weeks challenge here. The lowest Achilles number with `n` distinct prime factors is + +` 2 * P(n)^2` + +So we have: + +| n | P(n) | 2 * P(n)^2 | achilles idx | Factorisation | +| -: | -------: | --------------: | -----------: | ------------- | +| 2 | 6 | 72 | 1 | 23.32 | +| 3 | 30 | 1,800 | 20 | 23.32.52 | +| 4 | 210 | 88,200 | 237 | 23.32.52.72 | +| 5 | 2,310 | 10,672,200 | 3,268 | 23.32.52.72.112 | +| 6 | 30,030 | 1,803,601,800 | 46,747 | 23.32.52.72.112.132 | +| 7 | 510,510 | 521,240,920,200 | 826,862 | 23.32.52.72.112.132.172 | + # Challenge 2 - Kronecker Product ***Write a script to implement Kronecker Product on the given 2 matrices. e.g.*** -- cgit From 1acb2f952d8216b370fd868adece6b7614f7ba96 Mon Sep 17 00:00:00 2001 From: James Smith Date: Sat, 25 Jun 2022 03:09:50 +0100 Subject: Update README.md --- challenge-170/james-smith/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/challenge-170/james-smith/README.md b/challenge-170/james-smith/README.md index c542579da3..b88b247b6e 100644 --- a/challenge-170/james-smith/README.md +++ b/challenge-170/james-smith/README.md @@ -47,9 +47,7 @@ say$a=1;forprimes{say$a*=$_}23 # 30 bytes ### Aside - Last week's challenge - Achilles numbers. -There is a connection with last weeks challenge here. The lowest Achilles number with `n` distinct prime factors is - -` 2 * P(n)^2` +There is a connection with last weeks challenge here. The lowest Achilles number with `n` distinct prime factors is `2 * P(n)^2` So we have: -- cgit