Find largest left truncatable prime in a given base: Difference between revisions
Find largest left truncatable prime in a given base (view source)
Revision as of 12:25, 10 April 2017
, 7 years ago→{{header|Fortran}}
(→{{header|Fortran}}: Deviationism.) |
|||
Line 581:
And, as one who can recall when one was admitted to the status of "prime" (like, being divisible only by itself and one), what about allowing numbers to end with the digit one...
<pre>
Working in bases 3 to 17
Base Digits Count
3 2 1
4 7 1
5 4 1
6 19 1
7 8 1
8 9 1
9 5 3
10 20 1
11 7 1
12 30 1
13 10 1
14 25 1
15 20 4
16 23 2
17 11 2
The MR prime test makes a series of trials, stopping early
|