|
There are two methods to achieve this, the iterative cell count method, and a semi-analytical method based upon the results of Appendix A. The second method is superior in that it reveals all conditions under which the terms of any particular quadratic will line up in the spiral. Either process can also show how this exercise can reveal additional prime generating quadratics. B.1 The Iterative Cell Count Method After maximisation of a quadratic, take the first four primes as generated from "Numbers Generated" on PrimeGen.xls, and enter them into the "Special Search Numbers" on Ulam.xls and "Re-Configure Primes". There are two possible outcomes.
This procedure is illustrated in the following examples.
B.1.1 - Reduced Equation Curling Clockwise.
This example shows how to line up reduced equations curling clockwise in the
spiral, and also how this process can reveal additional prime generating
quadratics.
in the "Equation Coefficient" cells.
as the reduced equation.
Now note that the reconfigured spiral also yields another sequence of primes
starting with 211 lying on the RHS of the spiral parallel to direction H.
Taking the first four and proceeding as in (ii) and (iii) above yields
reducing this quadratic as in (iv) above yields
and which via (v) above produces the original four primes preceded by 31,
43, 67, 103 and 151. Processing the first four of these as in (vi) above
again results in their curling clockwise in the reconfigured spiral. Thus
inserting 31 as the Base Number, reconfiguring primes yields a long sequence
of consecutive primes lying along direction H and extending beyond the
periphery of the spiral. Checking the generated terms in PrimeGen.xls proves
(B.4) to be a Type (b) Full Prime quadratic generating 29 primes starting
with 31 and ending with 4903.
B.1.2 - Reduced Equation Curling Anti-Clockwise.
Example 1 - Integer and Negative Values.
In Ulam.xls set the Base Number to -29 and the Step Size to 3. Select the
sequence of primes 271, 409, 571 and 757 to produce
Reducing (B.5) gives
which generates the above four primes preceded by 1, 67 and 157. When, with
271, these are reconfigured in the spiral, they curl anticlockwise. To line
up the complete sequence, the minimum number of cell moves to bring each
prime adjacent to the next largest is 2 each. Totalled this is 6, which when
multiplied by the Step Size is 18. Subtract this from the existing Base
Number, (-29) to give -47 and insert this as the new Base Number. The whole
sequence of 12 primes now lines up parallel to direction F, Full Prime Type
(c).
Example 2 - Fractional Values.
In Ulam.xls set the Base Number to 1 and the Step Size to 3.75. Select the
sequence of primes 271, 421, 601 and 811 etc. to produce
Reduced this becomes
which produces the above four primes preceded by 1, 61 and 151. Together
with 271 when reconfigured in the spiral they curl anti-clockwise. The total
count to bring all four numbers adjacent is 6, multiplied by the Step Size
is 22.5. Subtracted from the existing Base Number gives -21.5 as the new
Base Number, resulting in 12 consecutive primes lying parallel to direction
H, Full Prime, Type (c).
B.2 The Semi-Analytic Method.
This method is best described by example. Thus consider the second example
in B.1.1 above, i.e. (B.4).
First substitute (A.1) into (A.2) for k to get
Inserting the coefficients of (B.4) into this gives
Because the coefficient of B here is an integer, B will be unity. Rn is the
integer result of dividing the RHS of (B.10) by 8, and D is the remainder.
Thus B = 1, Rn = 0, and D = 4.
Now, knowing B, k can be determined from (A.1), thus
Now, in order to determine P from (A.3), it is necessary to determine
nr, which in turn is determined from the geometry of the spiral. For
integer values of D, nr is given by
Here u and l are functions of D and are determined from Table B.1 at the end of
this Appendix.
Thus for this example nr becomes
So that from (A.3), P can now be determined as
Thus in the spiral, insertion of 31 for the Base Number and 1.5 as the Step
Size, aligns all the terms along direction H.
When the coefficient of B in the RHS of (B.9) is fractional. B can take
several values to align the applicable sequence terms in different
directions in the spiral. This is demonstrated in the next example.
Consider the quadratic
Here,
(i) B = 4, so that Rn = 1 and D = -3.5 and from (A.1), k = 1. Then from
Table B.2 at the end of the Appendix
and therefore
and the terms line up in direction A in the spiral.
(ii) B = 8, so that Rn = 1, D = 1 and k = 0.25. Then nr becomes
6-1+1, and P becomes - 0.5 or 0. The terms then line up in
direction E for both values of P, (only the first
Note that these values of u and l only apply for non-zero values of Rn, when Rn is zero, both u and l are also zero. Finally, there are three directions in which the first two terms of a sequence can straddle the Base Number, (to identify this condition, the first two terms appear in the same spiral ring). Under this special condition the above two tables do not apply and nr is given by
Direction F, (D = 2):- nr = (4 + D)Rn + 1 ± 0
Direction E + 1/ 2 , (D = 1.5):-  nr = 2Rn + 1 ± 0 Direction F + 1/ 2 , (D = 2.5):-
M61 Version 1.0.0
Ó
P.G.Bass, December 2011
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On to the Next Section:- Appendix C and References Back to the Introduction to this Paper:- Prime Number Quadratic Generation Back to the Home Page for this Site:- Home | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||