Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #399276 > unrolled thread

set of formulas that have no prime numbers

Started byJamie M <jmorken@shaw.ca>
First post2016-02-18 02:09 -0800
Last post2016-02-23 02:31 -0800
Articles 20 on this page of 30 — 4 participants

Back to article view | Back to sci.electronics.design


Contents

  set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 02:09 -0800
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 02:15 -0800
    Re: set of formulas that have no prime numbers jack4747@gmail.com - 2016-02-18 04:25 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:22 -0800
    Re: set of formulas that have no prime numbers Robert Baer <robertbaer@localnet.com> - 2016-02-19 12:20 -0800
      Re: set of formulas that have no prime numbers Virgil <VIRGIL@VIRGIL.com> - 2016-02-19 13:43 -0700
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:13 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:26 -0800
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:39 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:41 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 00:07 -0800
        Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 00:21 -0800
          Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 00:34 -0800
            Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 01:51 -0800
              Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 02:29 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 15:43 -0800
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 15:40 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:14 -0800
        Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:30 -0800
          Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:48 -0800
            Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 18:32 -0800
          Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:56 -0800
            Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 17:54 -0800
              Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 18:00 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 18:09 -0800
                  Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 19:37 -0800
                    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 20:06 -0800
                      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 20:13 -0800
                        Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 20:17 -0800
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 02:31 -0800

Page 1 of 2  [1] 2  Next page →


#399276 — set of formulas that have no prime numbers

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 02:09 -0800
Subjectset of formulas that have no prime numbers
Message-ID<na458l$pnt$1@gioia.aioe.org>
Hi,

These two sets of formulas will produce no prime numbers from n=0 to 
n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.

The interesting ones are with odd numbers, as the even numbers
are easy to see they don't produce primes, but the odd ones not
producing primes is pretty interesting.

set1:
2+6n (produces a single prime 2)
3+6n (produces a single prime 3)
4+6n
6+6n

set2:
2+60n (produces a single prime 2)
4+60n
5+60n
6+60n
8+60n
9+60n
10+60n
12+60n
14+60n
15+60n
18+60n
20+60n
21+60n
22+60n
24+60n
25+60n
26+60n
27+60n
28+60n
30+60n
32+60n
33+60n
34+60n
35+60n
36+60n
38+60n
39+60n
40+60n
42+60n
44+60n
45+60n
46+60n
48+60n
50+60n
51+60n
52+60n
54+60n
55+60n
56+60n
57+60n
58+60n

cheers,
Jamie

[toc] | [next] | [standalone]


#399278

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 02:15 -0800
Message-ID<na45jv$pnt$4@gioia.aioe.org>
In reply to#399276
> set2:
> 2+60n (produces a single prime 2)
> 4+60n
> 5+60n
> 6+60n
> 8+60n
> 9+60n
> 10+60n
> 12+60n
> 14+60n
> 15+60n


16+60n should be included in the second list..


> 18+60n
> 20+60n
> 21+60n
> 55+60n
> 56+60n
> 57+60n
> 58+60n
>
> cheers,
> Jamie
>

[toc] | [prev] | [next] | [standalone]


#399288

Fromjack4747@gmail.com
Date2016-02-18 04:25 -0800
Message-ID<ee2ea6d4-e9cc-495c-badf-95c0f8d05311@googlegroups.com>
In reply to#399276
Il giorno giovedì 18 febbraio 2016 11:09:30 UTC+1, Jamie M ha scritto:

> 5+60n

if n=0 => 5

5 is prime.
So the set is wrong.

Bye Jack

[toc] | [prev] | [next] | [standalone]


#399296

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 06:22 -0800
Message-ID<na4k3s$1ljq$2@gioia.aioe.org>
In reply to#399288
On 2/18/2016 4:25 AM, jack4747@gmail.com wrote:
> Il giorno giovedì 18 febbraio 2016 11:09:30 UTC+1, Jamie M ha scritto:
>
>> 5+60n
>
> if n=0 => 5
>
> 5 is prime.
> So the set is wrong.
>
> Bye Jack
>

The formula is a bit buggy around the edges :D

[toc] | [prev] | [next] | [standalone]


#399469

FromRobert Baer <robertbaer@localnet.com>
Date2016-02-19 12:20 -0800
Message-ID<BOKxy.6071$GM1.4038@fx35.iad>
In reply to#399276
Jamie M wrote:
> Hi,
>
> These two sets of formulas will produce no prime numbers from n=0 to
> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>
> The interesting ones are with odd numbers, as the even numbers
> are easy to see they don't produce primes, but the odd ones not
> producing primes is pretty interesting.
>
> set1:
> 2+6n (produces a single prime 2)
> 3+6n (produces a single prime 3)
> 4+6n
> 6+6n
>
> set2:
> 2+60n (produces a single prime 2)
> 4+60n
> 5+60n
> 6+60n
> 8+60n
> 9+60n
> 10+60n
> 12+60n
> 14+60n
> 15+60n
> 18+60n
> 20+60n
> 21+60n
> 22+60n
> 24+60n
> 25+60n
> 26+60n
> 27+60n
> 28+60n
> 30+60n
> 32+60n
> 33+60n
> 34+60n
> 35+60n
> 36+60n
> 38+60n
> 39+60n
> 40+60n
> 42+60n
> 44+60n
> 45+60n
> 46+60n
> 48+60n
> 50+60n
> 51+60n
> 52+60n
> 54+60n
> 55+60n
> 56+60n
> 57+60n
> 58+60n
>
> cheers,
> Jamie
>
   Guaranteed to do that: 2*n.

[toc] | [prev] | [next] | [standalone]


#399471

FromVirgil <VIRGIL@VIRGIL.com>
Date2016-02-19 13:43 -0700
Message-ID<VIRGIL-3122C4.13434619022016@news.giganews.com>
In reply to#399469
I


> Jamie M wrote:
> > Hi,
> >
> > These two sets of formulas will produce no prime numbers from n=0 to
> > n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> >
> > The interesting ones are with odd numbers, as the even numbers
> > are easy to see they don't produce primes, but the odd ones not
> > producing primes is pretty interesting.
> >
> > set1:
> > 2+6n (produces a single prime 2)
> > 3+6n (produces a single prime 3)
> > 4+6n
> > 6+6n
> >
> > set2:
> > 2+60n (produces a single prime 2)
> > 4+60n
> > 5+60n
> > 6+60n
> > 8+60n
> > 9+60n
> > 10+60n
> > 12+60n
> > 14+60n
> > 15+60n
> > 18+60n
> > 20+60n
> > 21+60n
> > 22+60n
> > 24+60n
> > 25+60n
> > 26+60n
> > 27+60n
> > 28+60n
> > 30+60n
> > 32+60n
> > 33+60n
> > 34+60n
> > 35+60n
> > 36+60n
> > 38+60n
> > 39+60n
> > 40+60n
> > 42+60n
> > 44+60n
> > 45+60n
> > 46+60n
> > 48+60n
> > 50+60n
> > 51+60n
> > 52+60n
> > 54+60n
> > 55+60n
> > 56+60n
> > 57+60n
> > 58+60n
> >
> > cheers,
> > Jamie

Given p is prime, and m and n are naturals, 
m*p + n*p will never be prime!

Big deal!
-- 
Virgil
"Mit der Dummheit kampfen Gotter selbst vergebens." (Schiller)

[toc] | [prev] | [next] | [standalone]


#399671

FromJamie M <jmorken@shaw.ca>
Date2016-02-20 21:13 -0800
Message-ID<nabh1n$1v1$1@gioia.aioe.org>
In reply to#399276
On 2/20/2016 8:11 PM, djoyce099 wrote:
> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>> Hi,
>>
>> These two sets of formulas will produce no prime numbers from n=0 to
>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>
>> The interesting ones are with odd numbers, as the even numbers
>> are easy to see they don't produce primes, but the odd ones not
>> producing primes is pretty interesting.
>>
>> set1:
>> 2+6n (produces a single prime 2)
>> 3+6n (produces a single prime 3)
>> 4+6n
>> 6+6n
>>
>> set2:
>> 2+60n (produces a single prime 2)
>> 4+60n
>> 5+60n
>> 6+60n
>> 8+60n
>> 9+60n
>> 10+60n
>> 12+60n
>> 14+60n
>> 15+60n
>> 18+60n
>> 20+60n
>> 21+60n
>> 22+60n
>> 24+60n
>> 25+60n
>> 26+60n
>> 27+60n
>> 28+60n
>> 30+60n
>> 32+60n
>> 33+60n
>> 34+60n
>> 35+60n
>> 36+60n
>> 38+60n
>> 39+60n
>> 40+60n
>> 42+60n
>> 44+60n
>> 45+60n
>> 46+60n
>> 48+60n
>> 50+60n
>> 51+60n
>> 52+60n
>> 54+60n
>> 55+60n
>> 56+60n
>> 57+60n
>> 58+60n
>>
>> cheers,
>> Jamie
>
> The only pattern possible to find all the primes is
> sieving out all the odd composites.
> A definite pattern can be observed when starting this
> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges
> thus eliminating all primes in this -->oo table.
>
> It begins with --
> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
>  From this point on taking (abs-2)+ the first summation (4) =6(*-1) =-6 for the next row negation.
> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11
> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
> -62 =42 (12+11+10+9+8+7+6+5+4+3+2) 42,54,65,75,84,92,99,105,110,114,117,119
> -74 =45 (13+...
> Each row summation starting with (-2) is a sequential summation of the triangle
> numbers -1
> Starting with t(4)-1. the next is t(5)-1 and so on.
> As proposed, there will never be a prime produced from the table above because
> it produces all the odd composite numbers as with most all even composites.
>
> There are a few even exceptions like the even perfect numbers and 2*n and
> also a few deficient by 2 even numbers, a total of (5) that are known.
> Most importantly putting all the even composites aside, all the odd composites
> are accountable in the above table thus eliminating all the primes.
>
> The table above is all based on the sequential triangle numbers -1 starting
> with t(4)-1.
>
> A python program works great in this sieve which cherry picks out the primes
> in the empty odd index spots in the sieve array.
>
> Who claims no patterns are connected to the primes?
> Well here is a table that has a definite pattern that -->oo
>
> Dan
>

Hi,

Cool table, did you make that one up? :)

Seems to work great.

Here is another one I came up with today:


product of list of primes, ie 2*3*5*7 = 210

coefficient+210n

That formula has the fewest integer coefficients of
any other values less than 210 to generate all the primes.

Another example with even more dense primes in the
formulas:

product of primes ie: 2*3*5*7*11*13*17*19*23*29
=6469693230

integer coefficient+6469693230n

That formula has the fewest integer coefficients of
any other values less than 6469693230 to generate all the primes.

See the pattern! :D

Basically if you take the full set of all infinite prime
numbers, and take the product of all of them combined,
then make a formula with that like the above, you will
still have the best ability to generate all the primes with
the highest occurrence density.


cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399673

FromJamie M <jmorken@shaw.ca>
Date2016-02-20 21:26 -0800
Message-ID<nabhqa$2sk$1@gioia.aioe.org>
In reply to#399671
On 2/20/2016 9:13 PM, Jamie M wrote:
> On 2/20/2016 8:11 PM, djoyce099 wrote:
>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>> Hi,
>>>
>>> These two sets of formulas will produce no prime numbers from n=0 to
>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>
>>> The interesting ones are with odd numbers, as the even numbers
>>> are easy to see they don't produce primes, but the odd ones not
>>> producing primes is pretty interesting.
>>>
>>> set1:
>>> 2+6n (produces a single prime 2)
>>> 3+6n (produces a single prime 3)
>>> 4+6n
>>> 6+6n
>>>
>>> set2:
>>> 2+60n (produces a single prime 2)
>>> 4+60n
>>> 5+60n
>>> 6+60n
>>> 8+60n
>>> 9+60n
>>> 10+60n
>>> 12+60n
>>> 14+60n
>>> 15+60n
>>> 18+60n
>>> 20+60n
>>> 21+60n
>>> 22+60n
>>> 24+60n
>>> 25+60n
>>> 26+60n
>>> 27+60n
>>> 28+60n
>>> 30+60n
>>> 32+60n
>>> 33+60n
>>> 34+60n
>>> 35+60n
>>> 36+60n
>>> 38+60n
>>> 39+60n
>>> 40+60n
>>> 42+60n
>>> 44+60n
>>> 45+60n
>>> 46+60n
>>> 48+60n
>>> 50+60n
>>> 51+60n
>>> 52+60n
>>> 54+60n
>>> 55+60n
>>> 56+60n
>>> 57+60n
>>> 58+60n
>>>
>>> cheers,
>>> Jamie
>>
>> The only pattern possible to find all the primes is
>> sieving out all the odd composites.
>> A definite pattern can be observed when starting this
>> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges
>> thus eliminating all primes in this -->oo table.
>>
>> It begins with --
>> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
>> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
>>  From this point on taking (abs-2)+ the first summation (4) =6(*-1)
>> =-6 for the next row negation.
>> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
>> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11
>> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
>> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
>> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
>> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
>> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
>> -62 =42 (12+11+10+9+8+7+6+5+4+3+2)
>> 42,54,65,75,84,92,99,105,110,114,117,119
>> -74 =45 (13+...
>> Each row summation starting with (-2) is a sequential summation of the
>> triangle
>> numbers -1
>> Starting with t(4)-1. the next is t(5)-1 and so on.
>> As proposed, there will never be a prime produced from the table above
>> because
>> it produces all the odd composite numbers as with most all even
>> composites.
>>
>> There are a few even exceptions like the even perfect numbers and 2*n and
>> also a few deficient by 2 even numbers, a total of (5) that are known.
>> Most importantly putting all the even composites aside, all the odd
>> composites
>> are accountable in the above table thus eliminating all the primes.
>>
>> The table above is all based on the sequential triangle numbers -1
>> starting
>> with t(4)-1.
>>
>> A python program works great in this sieve which cherry picks out the
>> primes
>> in the empty odd index spots in the sieve array.
>>
>> Who claims no patterns are connected to the primes?
>> Well here is a table that has a definite pattern that -->oo
>>
>> Dan
>>
>
> Hi,
>
> Cool table, did you make that one up? :)
>
> Seems to work great.
>
> Here is another one I came up with today:
>
>
> product of list of primes, ie 2*3*5*7 = 210
>
> coefficient+210n
>
> That formula has the fewest integer coefficients of
> any other values less than 210 to generate all the primes.
>
> Another example with even more dense primes in the
> formulas:
>
> product of primes ie: 2*3*5*7*11*13*17*19*23*29
> =6469693230
>
> integer coefficient+6469693230n
>
> That formula has the fewest integer coefficients of
> any other values less than 6469693230 to generate all the primes.
>
> See the pattern! :D
>
> Basically if you take the full set of all infinite prime
> numbers, and take the product of all of them combined,
> then make a formula with that like the above, you will
> still have the best ability to generate all the primes with
> the highest occurrence density.
>
>
> cheers,
> Jamie
>
>


Here's some output of ratios of how many of the formulas
for a given n are prime, ie for n=30 below, 0.36666.. or
11 out of the 30 (11/30=0.3666..) formulas produce primes.

The formula with the lowest ratio's produce the most primes,
so for n=210 below (product of primes 2*3*5*7), less than
a quarter (0.247619048) of the 210 possible formulas produce
primes, ie 52 formulas produce primes for n=210.

This ratio should decrease further for bigger products of primes,
ie as above:

product of primes ie: 2*3*5*7*11*13*17*19*23*29
=6469693230

cheers,
Jamie



n	ratio
1	1
2	1
3	1
4	0.75
5	1
6	0.666666667
7	1
8	0.625
9	0.777777778
10	0.6
11	1
12	0.5
13	1
14	0.571428571
15	0.666666667
16	0.5625
17	1
18	0.444444444
19	1
20	0.5
21	0.666666667
22	0.545454545
23	1
24	0.416666667
25	0.84
26	0.538461538
27	0.703703704
28	0.5
29	1
30	0.366666667
31	1
32	0.53125
33	0.666666667
34	0.529411765
35	0.742857143
36	0.388888889
37	1
38	0.526315789
39	0.666666667
40	0.45
41	1
42	0.357142857
43	1
44	0.5
45	0.577777778
46	0.52173913
47	1
48	0.375
49	0.87755102
50	0.44
51	0.666666667
52	0.5
53	1
54	0.37037037
55	0.763636364
56	0.464285714
57	0.666666667
58	0.517241379
59	1
60	0.316666667
61	1
62	0.516129032
63	0.603174603
64	0.515625
65	0.769230769
66	0.348484848
67	1
68	0.5
69	0.666666667
70	0.385714286
71	1
72	0.361111111
73	1
74	0.513513514
75	0.56
76	0.5
77	0.805194805
78	0.346153846
79	1
80	0.425
81	0.679012346
82	0.512195122
83	1
84	0.321428571
85	0.776470588
86	0.511627907
87	0.666666667
88	0.477272727
89	1
90	0.3
91	0.813186813
92	0.5
93	0.666666667
94	0.510638298
95	0.778947368
96	0.354166667
97	1
98	0.448979592
99	0.626262626
100	0.42
101	1
102	0.343137255
103	1
104	0.480769231
105	0.485714286
106	0.509433962
107	1
108	0.351851852
109	1
110	0.390909091
111	0.666666667
112	0.446428571
113	1
114	0.342105263
115	0.782608696
116	0.5
117	0.632478632
118	0.508474576
119	0.823529412
120	0.291666667
121	0.917355372
122	0.508196721
123	0.666666667
124	0.5
125	0.808
126	0.30952381
127	1
128	0.5078125
129	0.666666667
130	0.392307692
131	1
132	0.325757576
133	0.827067669
134	0.507462687
135	0.548148148
136	0.485294118
137	1
138	0.34057971
139	1
140	0.364285714
141	0.666666667
142	0.507042254
143	0.853146853
144	0.347222222
145	0.786206897
146	0.506849315
147	0.585034014
148	0.5
149	1
150	0.286666667
151	1
152	0.486842105
153	0.640522876
154	0.409090909
155	0.787096774
156	0.326923077
157	1
158	0.506329114
159	0.666666667
160	0.4125
161	0.832298137
162	0.345679012
163	1
164	0.5
165	0.503030303
166	0.506024096
167	1
168	0.303571429
169	0.928994083
170	0.394117647
171	0.643274854
172	0.5
173	1
174	0.33908046
175	0.697142857
176	0.465909091
177	0.666666667
178	0.505617978
179	1
180	0.283333333
181	1
182	0.412087912
183	0.666666667
184	0.489130435
185	0.789189189
186	0.338709677
187	0.86631016
188	0.5
189	0.582010582
190	0.394736842
191	1
192	0.34375
193	1
194	0.505154639
195	0.507692308
196	0.43877551
197	1
198	0.318181818
199	1
200	0.41
201	0.666666667
202	0.504950495
203	0.837438424
204	0.328431373
205	0.790243902
206	0.504854369
207	0.647342995
208	0.471153846
209	0.870813397
210	0.247619048
211	1
212	0.5
213	0.666666667
214	0.504672897
215	0.790697674
216	0.342592593
217	0.838709677
218	0.504587156
219	0.666666667
220	0.377272727
221	0.877828054
222	0.337837838
223	1

[toc] | [prev] | [next] | [standalone]


#399674

FromJamie M <jmorken@shaw.ca>
Date2016-02-20 21:39 -0800
Message-ID<nabiia$3is$1@gioia.aioe.org>
In reply to#399276
On 2/20/2016 8:51 PM, djoyce099 wrote:
> On Saturday, February 20, 2016 at 11:11:44 PM UTC-5, djoyce099 wrote:
>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>> Hi,
>>>
>>> These two sets of formulas will produce no prime numbers from n=0 to
>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>
>>> The interesting ones are with odd numbers, as the even numbers
>>> are easy to see they don't produce primes, but the odd ones not
>>> producing primes is pretty interesting.
>>>
>>> set1:
>>> 2+6n (produces a single prime 2)
>>> 3+6n (produces a single prime 3)
>>> 4+6n
>>> 6+6n
>>>
>>> set2:
>>> 2+60n (produces a single prime 2)
>>> 4+60n
>>> 5+60n
>>> 6+60n
>>> 8+60n
>>> 9+60n
>>> 10+60n
>>> 12+60n
>>> 14+60n
>>> 15+60n
>>> 18+60n
>>> 20+60n
>>> 21+60n
>>> 22+60n
>>> 24+60n
>>> 25+60n
>>> 26+60n
>>> 27+60n
>>> 28+60n
>>> 30+60n
>>> 32+60n
>>> 33+60n
>>> 34+60n
>>> 35+60n
>>> 36+60n
>>> 38+60n
>>> 39+60n
>>> 40+60n
>>> 42+60n
>>> 44+60n
>>> 45+60n
>>> 46+60n
>>> 48+60n
>>> 50+60n
>>> 51+60n
>>> 52+60n
>>> 54+60n
>>> 55+60n
>>> 56+60n
>>> 57+60n
>>> 58+60n
>>>
>>> cheers,
>>> Jamie
>>
>> The only pattern possible to find all the primes is
>> sieving out all the odd composites.
>> A definite pattern can be observed when starting this
>> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges
>> thus eliminating all primes in this -->oo table.
>>
>> It begins with --
>> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
>> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
>>  From this point on taking (abs-2)+ the first summation (4) =6(*-1) =-6 for the next row negation.
>> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
>> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11
>> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
>> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
>> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
>> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
>> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
>> -62 =42 (12+11+10+9+8+7+6+5+4+3+2) 42,54,65,75,84,92,99,105,110,114,117,119
>> -74 =45 (13+...
>> Each row summation starting with (-2) is a sequential summation of the triangle
>> numbers -1
>> Starting with t(4)-1. the next is t(5)-1 and so on.
>> As proposed, there will never be a prime produced from the table above because
>> it produces all the odd composite numbers as with most all even composites.
>>
>> There are a few even exceptions like the even perfect numbers and 2*n and
>> also a few deficient by 2 even numbers, a total of (5) that are known.
>> Most importantly putting all the even composites aside, all the odd composites
>> are accountable in the above table thus eliminating all the primes.
>>
>> The table above is all based on the sequential triangle numbers -1 starting
>> with t(4)-1.
>>
>> A python program works great in this sieve which cherry picks out the primes
>> in the empty odd index spots in the sieve array.
>>
>> Who claims no patterns are connected to the primes?
>> Well here is a table that has a definite pattern that -->oo
>>
>> Dan
> As an added curiosity the sequence of negations in each row --
> 2,6,11,17,24,32... is a 3rd degree monic polynomial.
>


Hi,

Do you have the formula for that polynomial?

So now can you calculate a 500 digit prime number and win some money? :D
Or prove a prime gap conjecture.

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399675

FromJamie M <jmorken@shaw.ca>
Date2016-02-20 21:41 -0800
Message-ID<nabin6$3is$2@gioia.aioe.org>
In reply to#399674
On 2/20/2016 9:39 PM, Jamie M wrote:
> On 2/20/2016 8:51 PM, djoyce099 wrote:
>> On Saturday, February 20, 2016 at 11:11:44 PM UTC-5, djoyce099 wrote:
>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>>> Hi,
>>>>
>>>> These two sets of formulas will produce no prime numbers from n=0 to
>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>>
>>>> The interesting ones are with odd numbers, as the even numbers
>>>> are easy to see they don't produce primes, but the odd ones not
>>>> producing primes is pretty interesting.
>>>>
>>>> set1:
>>>> 2+6n (produces a single prime 2)
>>>> 3+6n (produces a single prime 3)
>>>> 4+6n
>>>> 6+6n
>>>>
>>>> set2:
>>>> 2+60n (produces a single prime 2)
>>>> 4+60n
>>>> 5+60n
>>>> 6+60n
>>>> 8+60n
>>>> 9+60n
>>>> 10+60n
>>>> 12+60n
>>>> 14+60n
>>>> 15+60n
>>>> 18+60n
>>>> 20+60n
>>>> 21+60n
>>>> 22+60n
>>>> 24+60n
>>>> 25+60n
>>>> 26+60n
>>>> 27+60n
>>>> 28+60n
>>>> 30+60n
>>>> 32+60n
>>>> 33+60n
>>>> 34+60n
>>>> 35+60n
>>>> 36+60n
>>>> 38+60n
>>>> 39+60n
>>>> 40+60n
>>>> 42+60n
>>>> 44+60n
>>>> 45+60n
>>>> 46+60n
>>>> 48+60n
>>>> 50+60n
>>>> 51+60n
>>>> 52+60n
>>>> 54+60n
>>>> 55+60n
>>>> 56+60n
>>>> 57+60n
>>>> 58+60n
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>> The only pattern possible to find all the primes is
>>> sieving out all the odd composites.
>>> A definite pattern can be observed when starting this
>>> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges
>>> thus eliminating all primes in this -->oo table.
>>>
>>> It begins with --
>>> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
>>> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
>>>  From this point on taking (abs-2)+ the first summation (4) =6(*-1)
>>> =-6 for the next row negation.
>>> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
>>> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11
>>> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
>>> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
>>> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
>>> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
>>> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
>>> -62 =42 (12+11+10+9+8+7+6+5+4+3+2)
>>> 42,54,65,75,84,92,99,105,110,114,117,119
>>> -74 =45 (13+...
>>> Each row summation starting with (-2) is a sequential summation of
>>> the triangle
>>> numbers -1
>>> Starting with t(4)-1. the next is t(5)-1 and so on.
>>> As proposed, there will never be a prime produced from the table
>>> above because
>>> it produces all the odd composite numbers as with most all even
>>> composites.
>>>
>>> There are a few even exceptions like the even perfect numbers and 2*n
>>> and
>>> also a few deficient by 2 even numbers, a total of (5) that are known.
>>> Most importantly putting all the even composites aside, all the odd
>>> composites
>>> are accountable in the above table thus eliminating all the primes.
>>>
>>> The table above is all based on the sequential triangle numbers -1
>>> starting
>>> with t(4)-1.
>>>
>>> A python program works great in this sieve which cherry picks out the
>>> primes
>>> in the empty odd index spots in the sieve array.
>>>
>>> Who claims no patterns are connected to the primes?
>>> Well here is a table that has a definite pattern that -->oo
>>>
>>> Dan
>> As an added curiosity the sequence of negations in each row --
>> 2,6,11,17,24,32... is a 3rd degree monic polynomial.
>>
>
>
> Hi,
>
> Do you have the formula for that polynomial?
>
> So now can you calculate a 500 digit prime number and win some money? :D
> Or prove a prime gap conjecture.
>
> cheers,
> Jamie
>


Here is something that might be applicable:

http://www.wired.com/2014/12/mathematicians-make-major-discovery-prime-numbers/


Many mathematicians believe that the true size of large prime gaps is
probably considerably larger — more on the order of (log X)2, an idea
first put forth by the Swedish mathematician Harald Cramér in 1936.
Gaps of size (log X)2 are what would occur if the prime numbers behaved
like a collection of random numbers, which in many respects they appear
to do. But no one can come close to proving Cramér’s conjecture, Tao
said. “We just don’t understand prime numbers very well.”


cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399689

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 00:07 -0800
Message-ID<nabr7o$cet$1@gioia.aioe.org>
In reply to#399674
On 2/20/2016 10:27 PM, djoyce099 wrote:
>
>>
>> 2+n where n = 4,5,6,7,8,9,10,11...
>
> Correction  --
> 2+4+5+6+7+8+9+10+11...
>
> Dan
>


Hi,

a+840n for n integers, has more integer values for 'a' that produce
primes than any other equation up to a+1000n (still testing higher)

630
number of prime producing equations=148
ratio 148/630 = 0.234920634920635

840
number of prime producing equations= 196
ratio 196/840 = 0.233333333333333


840 seems to have the fewest a values that
generate primes since 840 / 7 / 5 / 3 / 2 / 2 / 2 = 1

or in other words 840 can be divided completely by primes.

630 7 / 5 / 3 / 3 / 2 = 1

or same thing these primes can be multiplied to generate
these special formulas:

840 = 7*5*3*2*2*2
630 = 7*5*3*3*2


cheers,
Jamie


[toc] | [prev] | [next] | [standalone]


#399690

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 00:21 -0800
Message-ID<nabs1n$dfi$1@gioia.aioe.org>
In reply to#399689
On 2/21/2016 12:07 AM, Jamie M wrote:
> On 2/20/2016 10:27 PM, djoyce099 wrote:
>>
>>>
>>> 2+n where n = 4,5,6,7,8,9,10,11...
>>
>> Correction  --
>> 2+4+5+6+7+8+9+10+11...
>>
>> Dan
>>
>
>
> Hi,
>
> a+840n for n integers, has more integer values for 'a' that produce
> primes than any other equation up to a+1000n (still testing higher)
>
> 630
> number of prime producing equations=148
> ratio 148/630 = 0.234920634920635
>
> 840
> number of prime producing equations= 196
> ratio 196/840 = 0.233333333333333
>
>
> 840 seems to have the fewest a values that
> generate primes since 840 / 7 / 5 / 3 / 2 / 2 / 2 = 1
>
> or in other words 840 can be divided completely by primes.
>
> 630 7 / 5 / 3 / 3 / 2 = 1
>
> or same thing these primes can be multiplied to generate
> these special formulas:
>
> 840 = 7*5*3*2*2*2
> 630 = 7*5*3*3*2
>
>
> cheers,
> Jamie
>
>
>


For the number 840 above, according to wikipedia:

https://en.wikipedia.org/wiki/840_%28number%29

it is all of these:

https://en.wikipedia.org/wiki/Highly_composite_number

https://en.wikipedia.org/wiki/Superabundant_number

https://en.wikipedia.org/wiki/Idoneal_number

So based on what I find for other numbers with the
lowest ratios, like 840 has, I will narrow it down to see which
of those three are important for this formula.

cheers,
Jamie







[toc] | [prev] | [next] | [standalone]


#399691

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 00:34 -0800
Message-ID<nabsri$eed$1@gioia.aioe.org>
In reply to#399690
On 2/21/2016 12:21 AM, Jamie M wrote:
> On 2/21/2016 12:07 AM, Jamie M wrote:
>> On 2/20/2016 10:27 PM, djoyce099 wrote:
>>>
>>>>
>>>> 2+n where n = 4,5,6,7,8,9,10,11...
>>>
>>> Correction  --
>>> 2+4+5+6+7+8+9+10+11...
>>>
>>> Dan
>>>
>>
>>
>> Hi,
>>
>> a+840n for n integers, has more integer values for 'a' that produce
>> primes than any other equation up to a+1000n (still testing higher)
>>
>> 630
>> number of prime producing equations=148
>> ratio 148/630 = 0.234920634920635
>>
>> 840
>> number of prime producing equations= 196
>> ratio 196/840 = 0.233333333333333
>>
>>
>> 840 seems to have the fewest a values that
>> generate primes since 840 / 7 / 5 / 3 / 2 / 2 / 2 = 1
>>
>> or in other words 840 can be divided completely by primes.
>>
>> 630 7 / 5 / 3 / 3 / 2 = 1
>>
>> or same thing these primes can be multiplied to generate
>> these special formulas:
>>
>> 840 = 7*5*3*2*2*2
>> 630 = 7*5*3*3*2
>>
>>
>> cheers,
>> Jamie
>>
>>
>>
>
>
> For the number 840 above, according to wikipedia:
>
> https://en.wikipedia.org/wiki/840_%28number%29
>
> it is all of these:
>
> https://en.wikipedia.org/wiki/Highly_composite_number
>
> https://en.wikipedia.org/wiki/Superabundant_number
>
> https://en.wikipedia.org/wiki/Idoneal_number
>
> So based on what I find for other numbers with the
> lowest ratios, like 840 has, I will narrow it down to see which
> of those three are important for this formula.
>
> cheers,
> Jamie
>
>

A quick targeted test for 2310, chosen to check
my idea that products of primes will have the
fewest prime producing formulas:

2310=2*3*5*7*11

2310 number of prime producing equations= 485
ratio= 0.20995670995671

wikipedia says this is a "primorial" number:

https://en.wikipedia.org/wiki/Primorial

sequence of primorial numbers:
https://oeis.org/A002110

1, 2, 6, 30, 210, 2310, 30030, 510510, 9699690, 223092870, 6469693230, 
200560490130, 7420738134810, 304250263527210, 13082761331670030, 
614889782588491410,

Interesting that page says:
"Phi(n)/n is a new minimum for each primorial. - Robert G. Wilson v, Jan 
10 2004"

"Smallest number stroked off n times after the n-th sifting process in 
an Eratosthenes sieve. - Lekraj Beedassy, Mar 31 2005"

"Apparently each term is a new minimum for phi(x)*sigma(x)/x^2. 6/Pi^2 < 
sigma(x)*phi(x)/x^2 < 1 for n > 1. - Jud McCranie, Jun 11 2005"

"
The peaks (i.e., local maximums) in a graph of the number of repetitions 
(i.e., the tally of values) vs. value, as generated by taking the 
differences of all distinct pairs of odd prime numbers within a 
contiguous range occur at regular periodic intervals given by the 
primorial numbers 6 and greater. Larger primorials yield larger 
(relative) peaks, however the range must be >50% larger than the 
primorial to be easily observed. Secondary peaks occur at intervals of 
those "near-primorials" divisible by 6 (e.g., 42). See A259629. Also, 
periodicity at intervals of 6 and 30 can be observed in the local peaks 
of all possible sums of two, three or more distinct odd primes within 
modest contiguous ranges starting from p(2) = 3. - Richard R. Forberg, 
Jul 01 2015 "

Looks like I finally found what I'm doing, assuming this is the matching
sequence.

cheers,
Jamie




>
>
>
>
>
>

[toc] | [prev] | [next] | [standalone]


#399695

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 01:51 -0800
Message-ID<nac1bb$kk7$1@gioia.aioe.org>
In reply to#399691
On 2/21/2016 12:34 AM, Jamie M wrote:
> On 2/21/2016 12:21 AM, Jamie M wrote:
>> On 2/21/2016 12:07 AM, Jamie M wrote:
>>> On 2/20/2016 10:27 PM, djoyce099 wrote:
>>>>
>>>>>
>>>>> 2+n where n = 4,5,6,7,8,9,10,11...
>>>>
>>>> Correction  --
>>>> 2+4+5+6+7+8+9+10+11...
>>>>
>>>> Dan
>>>>
>>>
>>>
>>> Hi,
>>>
>>> a+840n for n integers, has more integer values for 'a' that produce
>>> primes than any other equation up to a+1000n (still testing higher)
>>>
>>> 630
>>> number of prime producing equations=148
>>> ratio 148/630 = 0.234920634920635
>>>
>>> 840
>>> number of prime producing equations= 196
>>> ratio 196/840 = 0.233333333333333
>>>
>>>
>>> 840 seems to have the fewest a values that
>>> generate primes since 840 / 7 / 5 / 3 / 2 / 2 / 2 = 1
>>>
>>> or in other words 840 can be divided completely by primes.
>>>
>>> 630 7 / 5 / 3 / 3 / 2 = 1
>>>
>>> or same thing these primes can be multiplied to generate
>>> these special formulas:
>>>
>>> 840 = 7*5*3*2*2*2
>>> 630 = 7*5*3*3*2
>>>
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>>
>>
>>
>> For the number 840 above, according to wikipedia:
>>
>> https://en.wikipedia.org/wiki/840_%28number%29
>>
>> it is all of these:
>>
>> https://en.wikipedia.org/wiki/Highly_composite_number
>>
>> https://en.wikipedia.org/wiki/Superabundant_number
>>
>> https://en.wikipedia.org/wiki/Idoneal_number
>>
>> So based on what I find for other numbers with the
>> lowest ratios, like 840 has, I will narrow it down to see which
>> of those three are important for this formula.
>>
>> cheers,
>> Jamie
>>
>>
>
> A quick targeted test for 2310, chosen to check
> my idea that products of primes will have the
> fewest prime producing formulas:
>
> 2310=2*3*5*7*11
>
> 2310 number of prime producing equations= 485
> ratio= 0.20995670995671
>
> wikipedia says this is a "primorial" number:
>
> https://en.wikipedia.org/wiki/Primorial
>
> sequence of primorial numbers:
> https://oeis.org/A002110
>
> 1, 2, 6, 30, 210, 2310, 30030, 510510, 9699690, 223092870, 6469693230,
> 200560490130, 7420738134810, 304250263527210, 13082761331670030,
> 614889782588491410,
>
> Interesting that page says:
> "Phi(n)/n is a new minimum for each primorial. - Robert G. Wilson v, Jan
> 10 2004"
>
> "Smallest number stroked off n times after the n-th sifting process in
> an Eratosthenes sieve. - Lekraj Beedassy, Mar 31 2005"
>
> "Apparently each term is a new minimum for phi(x)*sigma(x)/x^2. 6/Pi^2 <
> sigma(x)*phi(x)/x^2 < 1 for n > 1. - Jud McCranie, Jun 11 2005"
>
> "
> The peaks (i.e., local maximums) in a graph of the number of repetitions
> (i.e., the tally of values) vs. value, as generated by taking the
> differences of all distinct pairs of odd prime numbers within a
> contiguous range occur at regular periodic intervals given by the
> primorial numbers 6 and greater. Larger primorials yield larger
> (relative) peaks, however the range must be >50% larger than the
> primorial to be easily observed. Secondary peaks occur at intervals of
> those "near-primorials" divisible by 6 (e.g., 42). See A259629. Also,
> periodicity at intervals of 6 and 30 can be observed in the local peaks
> of all possible sums of two, three or more distinct odd primes within
> modest contiguous ranges starting from p(2) = 3. - Richard R. Forberg,
> Jul 01 2015 "
>
> Looks like I finally found what I'm doing, assuming this is the matching
> sequence.
>
> cheers,
> Jamie
>
>


Here is the list of equation coefficients that produce all the primes
for 2310 for n=0 to n=infinity

1,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,
107,109,113,127,131,137,139,149,151,157,163,167,169,173,179,181,191,193,197,199,
211,221,223,227,229,233,239,241,247,251,257,263,269,271,277,281,283,289,293,299,
307,311,313,317,323,331,337,347,349,353,359,361,367,373,377,379,383,389,391,397,
401,403,409,419,421,431,433,437,439,443,449,457,461,463,467,479,481,487,491,493,
499,503,509,521,523,527,529,533,541,547,551,557,559,563,569,571,577,587,589,593,
599,601,607,611,613,617,619,629,631,641,643,647,653,659,661,667,673,677,683,689,
691,697,701,703,709,713,719,727,731,733,739,743,751,757,761,767,769,773,779,787,
793,797,799,809,811,817,821,823,827,829,839,841,851,853,857,859,863,871,877,881,
883,887,893,899,901,907,911,919,923,929,937,941,943,947,949,953,961,967,971,977,
983,989,991,997,1003,1007,1009,1013,1019,1021,1027,1031,1033,1037,1039,1049,1051,
1061,1063,1069,1073,1079,1081,1087,1091,1093,1097,1103,1109,1117,1121,1123,1129,
1139,1147,1151,1153,1157,1159,1163,1171,1181,1187,1189,1193,1201,1207,1213,1217,
1219,1223,1229,1231,1237,1241,1247,1249,1259,1261,1271,1273,1277,1279,1283,1289,
1291,1297,1301,1303,1307,1313,1319,1321,1327,1333,1339,1343,1349,1357,1361,1363,
1367,1369,1373,1381,1387,1391,1399,1403,1409,1411,1417,1423,1427,1429,1433,1439,
1447,1451,1453,1457,1459,1469,1471,1481,1483,1487,1489,1493,1499,1501,1511,1513,
1517,1523,1531,1537,1541,1543,1549,1553,1559,1567,1571,1577,1579,1583,1591,1597,
1601,1607,1609,1613,1619,1621,1627,1633,1637,1643,1649,1651,1657,1663,1667,1669,
1679,1681,1691,1693,1697,1699,1703,1709,1711,1717,1721,1723,1733,1739,1741,1747,
1751,1753,1759,1763,1769,1777,1781,1783,1787,1789,1801,1807,1811,1817,1819,1823,
1829,1831,1843,1847,1849,1853,1861,1867,1871,1873,1877,1879,1889,1891,1901,1907,
1909,1913,1919,1921,1927,1931,1933,1937,1943,1949,1951,1957,1961,1963,1973,1979,
1987,1993,1997,1999,2003,2011,2017,2021,2027,2029,2033,2039,2041,2047,2053,2059,
2063,2069,2071,2077,2081,2083,2087,2089,2099,2111,2113,2117,2119,2129,2131,2137,
2141,2143,2147,2153,2159,2161,2171,2173,2179,2183,2197,2201,2203,2207,2209,2213,
2221,2227,2231,2237,2239,2243,2249,2251,2257,2263,2267,2269,2273,2279,2281,2287,
2291,2293,2297,2309

ie for the last one, the equation 2309 + 2310n for n=0 to n=432
produces 166 primes, pretty decent ratio, that's a 38.4% chance
for each value to be prime in that range up to n=432, ie primes
up to 1million.

All of those equation coefficients produce similar occurrences
of the primes, so all primes up to 1million can be calculated with
the set of these formulas with about 38.4% +- a couple percent
occurrence.

Also someone said before "what is the point of this if you have to 
calculate all these coefficients first anyway" well for these special
numbers, ie 2310, I think there might be a formula to generate the big
list of coefficients above, as there is a quite periodic pattern
between the coefficient values.  Here is the spacing for the above
coefficients:

1,1,2,2,4,2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,14,4,6,2,10,2,6,6,4,2,
4,6,2,10,2,4,2,12,10,2,4,2,4,6,2,6,4,6,6,6,2,6,4,2,6,4,6,8,4,2,4,6,8,6,10,2,4,6,2,
6,6,4,2,4,6,2,6,4,2,6,10,2,10,2,4,2,4,6,8,4,2,4,12,2,6,4,2,6,4,6,12,2,4,2,4,8,6,4,
6,2,4,6,2,6,10,2,4,6,2,6,4,2,4,2,10,2,10,2,4,6,6,2,6,6,4,6,6,2,6,4,2,6,4,6,8,4,2,6,
4,8,6,4,6,2,4,6,8,6,4,2,10,2,6,4,2,4,2,10,2,10,2,4,2,4,8,6,4,2,4,6,6,2,6,4,8,4,6,8,
4,2,4,2,4,8,6,4,6,6,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10,2,10,2,6,4,6,2,6,4,2,4,6,6,8,4,2,
6,10,8,4,2,4,2,4,8,10,6,2,4,8,6,6,4,2,4,6,2,6,4,6,2,10,2,10,2,4,2,4,6,2,6,4,2,4,6,6,
2,6,6,6,4,6,8,4,2,4,2,4,8,6,4,8,4,6,2,6,6,4,2,4,6,8,4,2,4,2,10,2,10,2,4,2,4,6,2,10,2,
4,6,8,6,4,2,6,4,6,8,4,6,2,4,8,6,4,6,2,4,6,2,6,6,4,6,6,2,6,6,4,2,10,2,10,2,4,2,4,6,2,
6,4,2,10,6,2,6,4,2,6,4,6,8,4,2,4,2,12,6,4,6,2,4,6,2,12,4,2,4,8,6,4,2,4,2,10,2,10,6,2,
4,6,2,6,4,2,4,6,6,2,6,4,2,10,6,8,6,4,2,4,8,6,4,6,2,4,6,2,6,6,6,4,6,2,6,4,2,4,2,10,12,
2,4,2,10,2,6,4,2,4,6,6,2,10,2,6,4,14,4,2,4,2,4,8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,12

Maybe comparing these spacings with other values besides 2310 can show
the overall formula, then if that is found it should be easier to
calculate primes.  It's possible there is no pattern that can be found
in the spacing too, in fact these special numbers, ie 2310 might just
have a more noisy spacing of coefficients than the less useful values
which have lower prime density.

If anyone sees a pattern in there though let me know :D

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399697

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 02:29 -0800
Message-ID<nac3iv$nol$1@gioia.aioe.org>
In reply to#399695
On 2/21/2016 1:51 AM, Jamie M wrote:
> On 2/21/2016 12:34 AM, Jamie M wrote:
>> On 2/21/2016 12:21 AM, Jamie M wrote:
>>> On 2/21/2016 12:07 AM, Jamie M wrote:
>>>> On 2/20/2016 10:27 PM, djoyce099 wrote:
>>>>>
>>>>>>
>>>>>> 2+n where n = 4,5,6,7,8,9,10,11...
>>>>>
>>>>> Correction  --
>>>>> 2+4+5+6+7+8+9+10+11...
>>>>>
>>>>> Dan
>>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> a+840n for n integers, has more integer values for 'a' that produce
>>>> primes than any other equation up to a+1000n (still testing higher)
>>>>
>>>> 630
>>>> number of prime producing equations=148
>>>> ratio 148/630 = 0.234920634920635
>>>>
>>>> 840
>>>> number of prime producing equations= 196
>>>> ratio 196/840 = 0.233333333333333
>>>>
>>>>
>>>> 840 seems to have the fewest a values that
>>>> generate primes since 840 / 7 / 5 / 3 / 2 / 2 / 2 = 1
>>>>
>>>> or in other words 840 can be divided completely by primes.
>>>>
>>>> 630 7 / 5 / 3 / 3 / 2 = 1
>>>>
>>>> or same thing these primes can be multiplied to generate
>>>> these special formulas:
>>>>
>>>> 840 = 7*5*3*2*2*2
>>>> 630 = 7*5*3*3*2
>>>>
>>>>
>>>> cheers,
>>>> Jamie
>>>>
>>>>
>>>>
>>>
>>>
>>> For the number 840 above, according to wikipedia:
>>>
>>> https://en.wikipedia.org/wiki/840_%28number%29
>>>
>>> it is all of these:
>>>
>>> https://en.wikipedia.org/wiki/Highly_composite_number
>>>
>>> https://en.wikipedia.org/wiki/Superabundant_number
>>>
>>> https://en.wikipedia.org/wiki/Idoneal_number
>>>
>>> So based on what I find for other numbers with the
>>> lowest ratios, like 840 has, I will narrow it down to see which
>>> of those three are important for this formula.
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>
>> A quick targeted test for 2310, chosen to check
>> my idea that products of primes will have the
>> fewest prime producing formulas:
>>
>> 2310=2*3*5*7*11
>>
>> 2310 number of prime producing equations= 485
>> ratio= 0.20995670995671
>>
>> wikipedia says this is a "primorial" number:
>>
>> https://en.wikipedia.org/wiki/Primorial
>>
>> sequence of primorial numbers:
>> https://oeis.org/A002110
>>
>> 1, 2, 6, 30, 210, 2310, 30030, 510510, 9699690, 223092870, 6469693230,
>> 200560490130, 7420738134810, 304250263527210, 13082761331670030,
>> 614889782588491410,
>>
>> Interesting that page says:
>> "Phi(n)/n is a new minimum for each primorial. - Robert G. Wilson v, Jan
>> 10 2004"
>>
>> "Smallest number stroked off n times after the n-th sifting process in
>> an Eratosthenes sieve. - Lekraj Beedassy, Mar 31 2005"
>>
>> "Apparently each term is a new minimum for phi(x)*sigma(x)/x^2. 6/Pi^2 <
>> sigma(x)*phi(x)/x^2 < 1 for n > 1. - Jud McCranie, Jun 11 2005"
>>
>> "
>> The peaks (i.e., local maximums) in a graph of the number of repetitions
>> (i.e., the tally of values) vs. value, as generated by taking the
>> differences of all distinct pairs of odd prime numbers within a
>> contiguous range occur at regular periodic intervals given by the
>> primorial numbers 6 and greater. Larger primorials yield larger
>> (relative) peaks, however the range must be >50% larger than the
>> primorial to be easily observed. Secondary peaks occur at intervals of
>> those "near-primorials" divisible by 6 (e.g., 42). See A259629. Also,
>> periodicity at intervals of 6 and 30 can be observed in the local peaks
>> of all possible sums of two, three or more distinct odd primes within
>> modest contiguous ranges starting from p(2) = 3. - Richard R. Forberg,
>> Jul 01 2015 "
>>
>> Looks like I finally found what I'm doing, assuming this is the matching
>> sequence.
>>
>> cheers,
>> Jamie
>>
>>
>
>
> Here is the list of equation coefficients that produce all the primes
> for 2310 for n=0 to n=infinity
>
> 1,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,
>
> 107,109,113,127,131,137,139,149,151,157,163,167,169,173,179,181,191,193,197,199,
>
> 211,221,223,227,229,233,239,241,247,251,257,263,269,271,277,281,283,289,293,299,
>
> 307,311,313,317,323,331,337,347,349,353,359,361,367,373,377,379,383,389,391,397,
>
> 401,403,409,419,421,431,433,437,439,443,449,457,461,463,467,479,481,487,491,493,
>
> 499,503,509,521,523,527,529,533,541,547,551,557,559,563,569,571,577,587,589,593,
>
> 599,601,607,611,613,617,619,629,631,641,643,647,653,659,661,667,673,677,683,689,
>
> 691,697,701,703,709,713,719,727,731,733,739,743,751,757,761,767,769,773,779,787,
>
> 793,797,799,809,811,817,821,823,827,829,839,841,851,853,857,859,863,871,877,881,
>
> 883,887,893,899,901,907,911,919,923,929,937,941,943,947,949,953,961,967,971,977,
>
> 983,989,991,997,1003,1007,1009,1013,1019,1021,1027,1031,1033,1037,1039,1049,1051,
>
> 1061,1063,1069,1073,1079,1081,1087,1091,1093,1097,1103,1109,1117,1121,1123,1129,
>
> 1139,1147,1151,1153,1157,1159,1163,1171,1181,1187,1189,1193,1201,1207,1213,1217,
>
> 1219,1223,1229,1231,1237,1241,1247,1249,1259,1261,1271,1273,1277,1279,1283,1289,
>
> 1291,1297,1301,1303,1307,1313,1319,1321,1327,1333,1339,1343,1349,1357,1361,1363,
>
> 1367,1369,1373,1381,1387,1391,1399,1403,1409,1411,1417,1423,1427,1429,1433,1439,
>
> 1447,1451,1453,1457,1459,1469,1471,1481,1483,1487,1489,1493,1499,1501,1511,1513,
>
> 1517,1523,1531,1537,1541,1543,1549,1553,1559,1567,1571,1577,1579,1583,1591,1597,
>
> 1601,1607,1609,1613,1619,1621,1627,1633,1637,1643,1649,1651,1657,1663,1667,1669,
>
> 1679,1681,1691,1693,1697,1699,1703,1709,1711,1717,1721,1723,1733,1739,1741,1747,
>
> 1751,1753,1759,1763,1769,1777,1781,1783,1787,1789,1801,1807,1811,1817,1819,1823,
>
> 1829,1831,1843,1847,1849,1853,1861,1867,1871,1873,1877,1879,1889,1891,1901,1907,
>
> 1909,1913,1919,1921,1927,1931,1933,1937,1943,1949,1951,1957,1961,1963,1973,1979,
>
> 1987,1993,1997,1999,2003,2011,2017,2021,2027,2029,2033,2039,2041,2047,2053,2059,
>
> 2063,2069,2071,2077,2081,2083,2087,2089,2099,2111,2113,2117,2119,2129,2131,2137,
>
> 2141,2143,2147,2153,2159,2161,2171,2173,2179,2183,2197,2201,2203,2207,2209,2213,
>
> 2221,2227,2231,2237,2239,2243,2249,2251,2257,2263,2267,2269,2273,2279,2281,2287,
>
> 2291,2293,2297,2309
>
> ie for the last one, the equation 2309 + 2310n for n=0 to n=432
> produces 166 primes, pretty decent ratio, that's a 38.4% chance
> for each value to be prime in that range up to n=432, ie primes
> up to 1million.
>
> All of those equation coefficients produce similar occurrences
> of the primes, so all primes up to 1million can be calculated with
> the set of these formulas with about 38.4% +- a couple percent
> occurrence.
>
> Also someone said before "what is the point of this if you have to
> calculate all these coefficients first anyway" well for these special
> numbers, ie 2310, I think there might be a formula to generate the big
> list of coefficients above, as there is a quite periodic pattern
> between the coefficient values.  Here is the spacing for the above
> coefficients:
>
> 1,1,2,2,4,2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,14,4,6,2,10,2,6,6,4,2,
>
> 4,6,2,10,2,4,2,12,10,2,4,2,4,6,2,6,4,6,6,6,2,6,4,2,6,4,6,8,4,2,4,6,8,6,10,2,4,6,2,
>
> 6,6,4,2,4,6,2,6,4,2,6,10,2,10,2,4,2,4,6,8,4,2,4,12,2,6,4,2,6,4,6,12,2,4,2,4,8,6,4,
>
> 6,2,4,6,2,6,10,2,4,6,2,6,4,2,4,2,10,2,10,2,4,6,6,2,6,6,4,6,6,2,6,4,2,6,4,6,8,4,2,6,
>
> 4,8,6,4,6,2,4,6,8,6,4,2,10,2,6,4,2,4,2,10,2,10,2,4,2,4,8,6,4,2,4,6,6,2,6,4,8,4,6,8,
>
> 4,2,4,2,4,8,6,4,6,6,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10,2,10,2,6,4,6,2,6,4,2,4,6,6,8,4,2,
>
> 6,10,8,4,2,4,2,4,8,10,6,2,4,8,6,6,4,2,4,6,2,6,4,6,2,10,2,10,2,4,2,4,6,2,6,4,2,4,6,6,
>
> 2,6,6,6,4,6,8,4,2,4,2,4,8,6,4,8,4,6,2,6,6,4,2,4,6,8,4,2,4,2,10,2,10,2,4,2,4,6,2,10,2,
>
> 4,6,8,6,4,2,6,4,6,8,4,6,2,4,8,6,4,6,2,4,6,2,6,6,4,6,6,2,6,6,4,2,10,2,10,2,4,2,4,6,2,
>
> 6,4,2,10,6,2,6,4,2,6,4,6,8,4,2,4,2,12,6,4,6,2,4,6,2,12,4,2,4,8,6,4,2,4,2,10,2,10,6,2,
>
> 4,6,2,6,4,2,4,6,6,2,6,4,2,10,6,8,6,4,2,4,8,6,4,6,2,4,6,2,6,6,6,4,6,2,6,4,2,4,2,10,12,
>
> 2,4,2,10,2,6,4,2,4,6,6,2,10,2,6,4,14,4,2,4,2,4,8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,12
>
>
> Maybe comparing these spacings with other values besides 2310 can show
> the overall formula, then if that is found it should be easier to
> calculate primes.  It's possible there is no pattern that can be found
> in the spacing too, in fact these special numbers, ie 2310 might just
> have a more noisy spacing of coefficients than the less useful values
> which have lower prime density.
>
> If anyone sees a pattern in there though let me know :D
>
> cheers,
> Jamie
>
>

Ok,

I realize now that the list of prime generating coefficients for 2310, 
is *almost* just the sequence of prime digits, except for 169, and some 
semi-primes 221 in there etc..

So I am pretty sure that if instead of using 2310, I use a REALLY big
number with the same properties, ie assuming the important property is
2310 being primiorial:

https://en.wikipedia.org/wiki/Primorial

then the biggest one listed on that page is: 557940830126698960967415390
so that is the new formula to use, and now since it is such a big number
I hypothesize that the sequence of prime generating coefficients for it,
are going to be a lot closer to the actual sequence of prime numbers,
with fewer semi-primes in there..

So now there is at least a formula to calculate the set of coefficients
to generate prime numbers at really big scales.

ie:

7 + 557940830126698960967415390n for n=0 to n=infinity

this formula should have really good prime number density (compared
to just doing a brute force prime number search) up to maybe
10^30 or something like that.  To calculate all primes using that
formula it is the sequence of these formulas (except for possible
errors of coefficients that are coprimes being excluded)

2 + 557940830126698960967415390n
3 + 557940830126698960967415390n
5 + 557940830126698960967415390n
7 + 557940830126698960967415390n
11 + 557940830126698960967415390n
(all primes) + 557940830126698960967415390n

Calculating all the primes up to 557940830126698960967415390
is still a lot of calculating, but then once they are calculated,
then even more primes can be found using that primorial set of
formulas.

cheers,
Jamie


[toc] | [prev] | [next] | [standalone]


#399769

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 15:43 -0800
Message-ID<nadi3u$1nt8$2@gioia.aioe.org>
In reply to#399674
On 2/21/2016 7:23 AM, djoyce099 wrote:
>
>>>
>>> Hi,
>>>
>>> Hmm, so basically you have given a formula for all non
>>> prime composites, that requires no factorization to
>>> then find the rest of the composites (all primes).
>>>
>>> Is this correct?
>>>
>>> Is there a way to "invert" the whole formula you made
>>> so that you can give it a number and check if it is
>>> prime or not without doing factorization?
>>>
>>> cheers,
>>> Jamie
>>
>> No not all composites but all odd composites as I explained in my first
>> post because there are some even composite exceptions, like all the primes,
>> that are not generated. This does not matter though because I am only picking
>> the empty odd index in the array as prime because all the other odd index's
>> contain an odd composite.
>>
>> On your second question, what is the point?
>> You could easily list all the odd composites from the array and identify just
>> the primes (empty index count) within that list with an "*" .
>>
>> Dan
>
> The Python algorithm has limits you can set on the number of primes to be
> listed depending on the size of the array. Also it can start in a much higher
> prime location with the right calculated parameters to just scan the inner
> range within an array. This can keep the array size down  and run the primes
> in different steps.
>


Hi,

So given a very large number that you don't if it is prime or not, this
algorithm (with arbitrary precision math) should be able to quickly see
if the number is prime without doing any factorization?  Is that right,
and are there other algorithms that can do this?

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399768

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 15:40 -0800
Message-ID<nadhsl$1nt8$1@gioia.aioe.org>
In reply to#399276
On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>> Hi,
>>
>> These two sets of formulas will produce no prime numbers from n=0 to
>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>
>> The interesting ones are with odd numbers, as the even numbers
>> are easy to see they don't produce primes, but the odd ones not
>> producing primes is pretty interesting.
>>
>> set1:
>> 2+6n (produces a single prime 2)
>> 3+6n (produces a single prime 3)
>> 4+6n
>> 6+6n
>>
>> set2:
>> 2+60n (produces a single prime 2)
>> 4+60n
>> 5+60n
>> 6+60n
>> 8+60n
>> 9+60n
>> 10+60n
>> 12+60n
>> 14+60n
>> 15+60n
>> 18+60n
>> 20+60n
>> 21+60n
>> 22+60n
>> 24+60n
>> 25+60n
>> 26+60n
>> 27+60n
>> 28+60n
>> 30+60n
>> 32+60n
>> 33+60n
>> 34+60n
>> 35+60n
>> 36+60n
>> 38+60n
>> 39+60n
>> 40+60n
>> 42+60n
>> 44+60n
>> 45+60n
>> 46+60n
>> 48+60n
>> 50+60n
>> 51+60n
>> 52+60n
>> 54+60n
>> 55+60n
>> 56+60n
>> 57+60n
>> 58+60n
>>
>> cheers,
>> Jamie
>
> Jamie,
>
> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.

Especially when Y is even.
>


Hi,

What about 7 + 2310n?

Primorial numbers ie 2310, have more distinct prime factors than any
number smaller than it.  Yet Y in this case, ie 7 has the common factor
(of itself) with 2310.

The best formula to find the most primes I found so far is:

most likelihood of being prime = a prime below the primorial + (primorial)n

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399775

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 16:14 -0800
Message-ID<nadjsd$230$1@gioia.aioe.org>
In reply to#399768
On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>>> Hi,
>>>>
>>>> These two sets of formulas will produce no prime numbers from n=0 to
>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>>
>>>> The interesting ones are with odd numbers, as the even numbers
>>>> are easy to see they don't produce primes, but the odd ones not
>>>> producing primes is pretty interesting.
>>>>
>>>> set1:
>>>> 2+6n (produces a single prime 2)
>>>> 3+6n (produces a single prime 3)
>>>> 4+6n
>>>> 6+6n
>>>>
>>>> set2:
>>>> 2+60n (produces a single prime 2)
>>>> 4+60n
>>>> 5+60n
>>>> 6+60n
>>>> 8+60n
>>>> 9+60n
>>>> 10+60n
>>>> 12+60n
>>>> 14+60n
>>>> 15+60n
>>>> 18+60n
>>>> 20+60n
>>>> 21+60n
>>>> 22+60n
>>>> 24+60n
>>>> 25+60n
>>>> 26+60n
>>>> 27+60n
>>>> 28+60n
>>>> 30+60n
>>>> 32+60n
>>>> 33+60n
>>>> 34+60n
>>>> 35+60n
>>>> 36+60n
>>>> 38+60n
>>>> 39+60n
>>>> 40+60n
>>>> 42+60n
>>>> 44+60n
>>>> 45+60n
>>>> 46+60n
>>>> 48+60n
>>>> 50+60n
>>>> 51+60n
>>>> 52+60n
>>>> 54+60n
>>>> 55+60n
>>>> 56+60n
>>>> 57+60n
>>>> 58+60n
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>> Jamie,
>>>
>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
>>
>> Especially when Y is even.
>>>
>>
>>
>> Hi,
>>
>> What about 7 + 2310n?
>>
>> Primorial numbers ie 2310, have more distinct prime factors than any
>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
>> (of itself) with 2310.
>>
>> The best formula to find the most primes I found so far is:
>>
>> most likelihood of being prime = a prime below the primorial + (primorial)n
>>
>> cheers,
>> Jamie
>
> Therefore it will produce no primes except 7. Nevermind.
>

Hi,

Actually that is even better, I think I made an error in my code
to select these functions as prime producing based on the fact
that they produce a single prime.. but if that is true that
these formulas produce no more than a single prime, then the new
formula excluding the single prime is:

NOT_prime = a prime below the primorial + (primorial)n

Can that formula be used to check if a very large number
is prime?

ie. try to subtract integer multiples of primorial numbers
from a very large number, and if the result is prime then the very
large number isn't prime maybe.
ie 9247-2310*4=7

so 9247 isn't prime if that formula is true.

cheers,
Jamie







[toc] | [prev] | [next] | [standalone]


#399781

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 16:30 -0800
Message-ID<nadkrf$6to$1@gioia.aioe.org>
In reply to#399775
On 2/21/2016 4:21 PM, Simon Christopher Roberts wrote:
> On Sunday, February 21, 2016 at 7:14:19 PM UTC-5, Jamie M wrote:
>> On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
>>> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
>>>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
>>>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>>>>> Hi,
>>>>>>
>>>>>> These two sets of formulas will produce no prime numbers from n=0 to
>>>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>>>>
>>>>>> The interesting ones are with odd numbers, as the even numbers
>>>>>> are easy to see they don't produce primes, but the odd ones not
>>>>>> producing primes is pretty interesting.
>>>>>>
>>>>>> set1:
>>>>>> 2+6n (produces a single prime 2)
>>>>>> 3+6n (produces a single prime 3)
>>>>>> 4+6n
>>>>>> 6+6n
>>>>>>
>>>>>> set2:
>>>>>> 2+60n (produces a single prime 2)
>>>>>> 4+60n
>>>>>> 5+60n
>>>>>> 6+60n
>>>>>> 8+60n
>>>>>> 9+60n
>>>>>> 10+60n
>>>>>> 12+60n
>>>>>> 14+60n
>>>>>> 15+60n
>>>>>> 18+60n
>>>>>> 20+60n
>>>>>> 21+60n
>>>>>> 22+60n
>>>>>> 24+60n
>>>>>> 25+60n
>>>>>> 26+60n
>>>>>> 27+60n
>>>>>> 28+60n
>>>>>> 30+60n
>>>>>> 32+60n
>>>>>> 33+60n
>>>>>> 34+60n
>>>>>> 35+60n
>>>>>> 36+60n
>>>>>> 38+60n
>>>>>> 39+60n
>>>>>> 40+60n
>>>>>> 42+60n
>>>>>> 44+60n
>>>>>> 45+60n
>>>>>> 46+60n
>>>>>> 48+60n
>>>>>> 50+60n
>>>>>> 51+60n
>>>>>> 52+60n
>>>>>> 54+60n
>>>>>> 55+60n
>>>>>> 56+60n
>>>>>> 57+60n
>>>>>> 58+60n
>>>>>>
>>>>>> cheers,
>>>>>> Jamie
>>>>>
>>>>> Jamie,
>>>>>
>>>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
>>>>
>>>> Especially when Y is even.
>>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> What about 7 + 2310n?
>>>>
>>>> Primorial numbers ie 2310, have more distinct prime factors than any
>>>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
>>>> (of itself) with 2310.
>>>>
>>>> The best formula to find the most primes I found so far is:
>>>>
>>>> most likelihood of being prime = a prime below the primorial + (primorial)n
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>> Therefore it will produce no primes except 7. Nevermind.
>>>
>>
>> Hi,
>>
>> Actually that is even better, I think I made an error in my code
>> to select these functions as prime producing based on the fact
>> that they produce a single prime.. but if that is true that
>> these formulas produce no more than a single prime, then the new
>> formula excluding the single prime is:
>>
>> NOT_prime = a prime below the primorial + (primorial)n
>>
>> Can that formula be used to check if a very large number
>> is prime?
>>
>> ie. try to subtract integer multiples of primorial numbers
>> from a very large number, and if the result is prime then the very
>> large number isn't prime maybe.
>> ie 9247-2310*4=7
>>
>> so 9247 isn't prime if that formula is true.
>>
>> cheers,
>> Jamie
>
> I haven't a clue. I would take the square root of that number, truncate it, and see if every integer equal and
less than this number divides the original number evenly, if not you 
have a prime. This may be considered brute force. however.
>

Hi,

Actually that above formula I wrote is wrong, ie for

Y + 2310n, all prime producing functions (that produce more than a
single prime) have Y as a prime larger than 11, since 2310 = 2*3*5*7*11.

So my formula before is correct, Y tends to be always prime the bigger
then primorial number is, but for Y less than the primorial largest
prime factor (ie 11 for 2310) then there is only one prime produced,
but larger primes than the largest primorial factor produce many primes.

ie for 13 + 2310n, there are 164 primes produced for n up to 432

164/432=38% primes

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399783

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 16:48 -0800
Message-ID<nadltj$bvv$2@gioia.aioe.org>
In reply to#399781
On 2/21/2016 4:30 PM, Jamie M wrote:

>>>>>>> 54+60n
>>>>>>> 55+60n
>>>>>>> 56+60n
>>>>>>> 57+60n
>>>>>>> 58+60n
>>>>>>>
>>>>>>> cheers,
>>>>>>> Jamie
>>>>>>
>>>>>> Jamie,
>>>>>>
>>>>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the
>>>>>> common factor of Y and 60n. You will see that Y + 60n can't be prime.
>>>>>
>>>>> Especially when Y is even.
>>>>>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> What about 7 + 2310n?
>>>>>
>>>>> Primorial numbers ie 2310, have more distinct prime factors than any
>>>>> number smaller than it.  Yet Y in this case, ie 7 has the common
>>>>> factor
>>>>> (of itself) with 2310.
>>>>>
>>>>> The best formula to find the most primes I found so far is:
>>>>>
>>>>> most likelihood of being prime = a prime below the primorial +
>>>>> (primorial)n
>>>>>
>>>>> cheers,
>>>>> Jamie
>>>>
>>>> Therefore it will produce no primes except 7. Nevermind.
>>>>
>>>
>>> Hi,
>>>
>>> Actually that is even better, I think I made an error in my code
>>> to select these functions as prime producing based on the fact
>>> that they produce a single prime.. but if that is true that
>>> these formulas produce no more than a single prime, then the new
>>> formula excluding the single prime is:
>>>
>>> NOT_prime = a prime below the primorial + (primorial)n
>>>
>>> Can that formula be used to check if a very large number
>>> is prime?
>>>
>>> ie. try to subtract integer multiples of primorial numbers
>>> from a very large number, and if the result is prime then the very
>>> large number isn't prime maybe.
>>> ie 9247-2310*4=7
>>>
>>> so 9247 isn't prime if that formula is true.
>>>
>>> cheers,
>>> Jamie
>>
>> I haven't a clue. I would take the square root of that number,
>> truncate it, and see if every integer equal and
> less than this number divides the original number evenly, if not you
> have a prime. This may be considered brute force. however.
>>
>
> Hi,
>
> Actually that above formula I wrote is wrong, ie for
>
> Y + 2310n, all prime producing functions (that produce more than a
> single prime) have Y as a prime larger than 11, since 2310 = 2*3*5*7*11.
>
> So my formula before is correct, Y tends to be always prime the bigger
> then primorial number is, but for Y less than the primorial largest
> prime factor (ie 11 for 2310) then there is only one prime produced,
> but larger primes than the largest primorial factor produce many primes.
>
> ie for 13 + 2310n, there are 164 primes produced for n up to 432
>
> 164/432=38% primes
>
> cheers,
> Jamie
>
>


Also for 13 + 2310n, there are 1370 primes produced for n up to 4329.

1370/4329=31.6%

cheers,
Jamie



[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | sci.electronics.design


csiph-web