diff options
| author | James Smith <js5@sanger.ac.uk> | 2022-03-29 11:42:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-29 11:42:43 +0100 |
| commit | 71c522cd99e1930f91b2a8333888d287bb7c76da (patch) | |
| tree | 887268c6da03f6497057e0eec53a5cd68404bcfc | |
| parent | bc9b0e54a56462b7f4a07e4fd2e9a80ff62c99a0 (diff) | |
| download | perlweeklychallenge-club-71c522cd99e1930f91b2a8333888d287bb7c76da.tar.gz perlweeklychallenge-club-71c522cd99e1930f91b2a8333888d287bb7c76da.tar.bz2 perlweeklychallenge-club-71c522cd99e1930f91b2a8333888d287bb7c76da.zip | |
Update README.md
| -rw-r--r-- | challenge-158/james-smith/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-158/james-smith/README.md b/challenge-158/james-smith/README.md index 44218f126a..74a5faa077 100644 --- a/challenge-158/james-smith/README.md +++ b/challenge-158/james-smith/README.md @@ -49,9 +49,9 @@ sub additive_primes { * The *increment* block is called at the end of the loop and so stores the value of `$p` if it is an additive prime, then it increments the loop with the next prime. * Rather than doing a split and sum we use repeated dividing and summing, as it is more efficient around 20-30% more efficient. The increased performance is probably due to avoiding the "duality" of perl variables storing numbers as numbers/strings. -# Challenge 2 - First Series Cuban Primes +# Challenge 2 - First series buban primes -***Write a script to compute first series Cuban Primes <= 1000. (First series cuban primes have the form `((x+1)^3-x^3)/(x+1-x)` = `3x^2+3x+1`)*** +***Write a script to compute first series cuban primes <= 1000. (First series cuban primes have the form `((x+1)^3-x^3)/(x+1-x)` = `3x^2+3x+1`)*** ## The solution |
