Talk:Find largest left truncatable prime in a given base: Difference between revisions

Line 83:
 
==Odd base optimization==
Sadly 24 is not odd, but for bases which are:
 
:Note that all stems greater than 2 are odd.
 
:Prepending an odd number to the stem makes a new even candidate stem, which can not be prime.
 
Therefore it is only necessary to consider cases where the number prepended to the stem is even.
 
For 2 the situation is the reverese.
--[[User:Nigel Galloway|Nigel Galloway]] 12:27, 10 December 2012 (UTC)
2,171

edits