Home primes: Difference between revisions
m
Use home not Home (as per wp and elsewhere)
m (→{{header|Phix}}: explained where 20000 came from) |
m (Use home not Home (as per wp and elsewhere)) |
||
Line 6:
The traditional notation has the prefix "HP" and a postfix count of the number of iterations until the home prime is found (if the count is greater than 0), for instance HP4(2) === HP22(1) === 211 is the same as saying the home prime of 4 needs 2 iterations and is the same as the home prime of 22 which needs 1 iteration, and (both) resolve to 211, a prime.
Prime numbers are their own
So:
Line 14:
HP7 = 7
If the integer obtained by concatenating increasing prime factors is not prime, iterate until you reach a prime number; the
HP4(2) = HP22(1) = 211
Line 25:
;Task
* Find and show here, on this page, the
Line 35:
;Impossible goal
* Show the the
|