Project Euler/58: Difference between revisions
From charlesreid1
(Created page with "==Problem Statement== ==Solution Technique== ==Code== ==Flags== {{ProjectEulerFlag}}") |
|||
| Line 1: | Line 1: | ||
==Problem Statement== | ==Problem Statement== | ||
This question asks about prime spirals. | |||
If we form a spiral with the integers, we find that prime numbers tend to fall on the diagonals of this spiral with a higher density than elsewhere in the spiral. This question asks to find how long it takes before the percentage of integers on the diagonals that are primes falls below 10%. | |||
Link: https://projecteuler.net/problem=58 | |||
==Solution Technique== | ==Solution Technique== | ||
Revision as of 10:05, 8 January 2018
Problem Statement
This question asks about prime spirals.
If we form a spiral with the integers, we find that prime numbers tend to fall on the diagonals of this spiral with a higher density than elsewhere in the spiral. This question asks to find how long it takes before the percentage of integers on the diagonals that are primes falls below 10%.
Link: https://projecteuler.net/problem=58
Solution Technique
Code
Flags