Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#176 2015-06-22 04:20:41

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Smallest solution for Pt=2, when n=2;


Next solution, when Pt=2 and n=3;


Next solution, when Pt=2 and n=6;


Next solution, when Pt=2 and n=12;


Next solution, when Pt=2 and n=24;


Offline

#177 2015-06-22 04:44:26

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Would there be primes at n=48?

From calculation n=48 would only give one prime

Offline

#178 2015-06-22 07:07:45

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Smallest solution for Pt=3, when n=2


Next prime when n=4


Next prime when n=6


Next prime when n=9


Next prime when n=15


Last edited by Stangerzv (2015-06-24 01:21:16)

Offline

#179 2015-06-24 01:31:26

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Smallest solution for Pt=4, when n=3


Offline

#180 2015-06-27 10:09:59

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

For n<25, no apparent primes for Pt=5

For n<25, no apparent primes for Pt=6

For n<25, no apparent primes for Pt=7

Offline

#181 2015-06-27 16:20:43

danaj
Member
Registered: 2014-03-03
Posts: 29

Re: My New Twin Prime Numbers


Isn't that a solution for Pt=5?  Similarly n=3 Pt=6 => +/-9, n=3 Pt=7 => +/- 63

Last edited by danaj (2015-06-27 17:07:29)

Offline

#182 2015-06-28 06:39:28

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Dear danaj, that's not a solution because n is the number of terms used. Your equation uses n=3 and shouldn't be 57.

Offline

#183 2015-06-28 10:15:51

danaj
Member
Registered: 2014-03-03
Posts: 29

Re: My New Twin Prime Numbers

Oh, I see.  You're restricting n to both the number of terms and the +/- unit.

I believe for Pt=5, n=1281; Pt=6, n=609; Pt=7, n=711; Pt=8, n=957; Pt=9, n=4035.  Double check them.

Offline

#184 2015-06-29 21:38:47

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Dear Danaj, thanks for the calculation. Have you checked the prime with prime provable algorithm like in the mathematica?

Offline

#185 2015-06-30 01:48:14

danaj
Member
Registered: 2014-03-03
Posts: 29

Re: My New Twin Prime Numbers

I didn't before (just using something similar to Mathematica's PrimeQ), but these numbers are small so I changed to is_provable_prime.  They're provable primes (if they weren't we'd have found something that was a BPSW + extra M-R tests counterexample, which would be astonishing).

Last edited by danaj (2015-06-30 01:48:41)

Offline

#186 2015-07-02 19:04:10

danaj
Member
Registered: 2014-03-03
Posts: 29

Re: My New Twin Prime Numbers

By the way, here is what I used.  Just brute force.

perl -Mntheory=:all -MMath::GMPz -E 'for my $pt (1..11) { for my $n (1 .. 50000) { my($sign,$s)=(1,0); forprimes { $s += $sign* Math::GMPz->new($_)**$pt; $sign=-$sign } nth_prime($n); if ($n < $s && is_provable_prime($s-$n) && is_provable_prime($s+$n)) { say "$pt: $s +/- $n"; last; } } }'

Takes about 1.5 minutes.  Generating the proofs vs. plain BPSW makes no noticeable timing difference.

1: 8 +/- 5
2: 20 +/- 3
3: 106 +/- 3
4: 560 +/- 3
5: 59779076418421204640 +/- 1281
6: 4255809704937643329920 +/- 609
7: 63835705531104194020747282 +/- 711
8: 5199099913899300539585745185120 +/- 957
9: 86486076326025141392980473635379192344452 +/- 4035
10: 1287183127776263297776662121192361760476608760 +/- 3723
11: 101678827728094895209692286827415375382 +/- 435

I imagine this could be translated into Pari/GP with little effort, and its isprime is APR-CL with modern versions.  Mathematica would probably not translate directly but should be easy enough. ProvablePrimeQ according to documentation uses various methods including ECPP, but I have no idea how fast it is.

Last edited by danaj (2015-07-02 19:17:17)

Offline

#187 2015-07-04 02:26:45

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Thanks for the calculation. I do believe in the future the calculation time for ProvablePrimeQ would be smaller as the computing power is getting more powerful. I was using a supercomputer with a cluster of 2000 CPUs in the late 90s and it took sometimes up to 4 months to complete a finite element analysis of a small section of turbine jet engine component. Now, a single GPU like NVDIA tesla comprises of thousand cores in a single unit of processor would make as if you are having a supercomputer at home. However, as the computing power getting faster the prime number is also getting larger and limitless. So back to the square one:)

Last edited by Stangerzv (2015-07-04 02:28:33)

Offline

#188 2015-07-11 16:20:34

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

It is quite amazing to find out that the plus-minus n is always having a cycle of digital roots of 2,4,3,6 or 9.

Offline

#189 2015-07-15 03:29:38

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

For larger value of primes, it seems that the value of n is always divisible by 3. Unless a counterexample is found.

Offline

#190 2015-07-19 22:15:31

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

There are so far 3 groups of primes for consecutive power when n=3.

The list is given as follows:

 



Offline

#191 2015-07-22 12:58:58

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Perfect Primes:

Offline

#192 2015-08-08 02:13:16

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

The largest prime value of n would always be 3. As the value of Pt and n becoming larger, n would always be divisible by 3 (a conjecture).

Offline

#193 2016-04-30 22:20:46

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

The largest solution for

could be only when

Offline

#194 2016-05-02 05:58:03

googol
Member
From: Delft, The Netherlands
Registered: 2016-04-22
Posts: 13

Re: My New Twin Prime Numbers

First results for Pt=23: (no perfect twins)
-4475 : 5889137212050938735368472902508869483835853899657458332272001992354134048771473543186122962291841184947527129
+4475 : 5889137212050938735368472902508869483835853899657458332272001992354134048771473543186122962291841184947536079
-11737- : 763535938306412512047674015563031733445522730069155715016873757788272794603779526321867531591867496118778511572255374563
+11737+ : 763535938306412512047674015563031733445522730069155715016873757788272794603779526321867531591867496118778511572255398037
-11848 : 977088126028151808796565733124095583631954744365488527199737265166828731869558855032529267557676836542668809798898003537
+11848 : 977088126028151808796565733124095583631954744365488527199737265166828731869558855032529267557676836542668809798898027233


10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Offline

#195 2016-05-02 06:19:34

googol
Member
From: Delft, The Netherlands
Registered: 2016-04-22
Posts: 13

Re: My New Twin Prime Numbers


10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Offline

#196 2016-05-03 00:03:00

Primenumbers
Member
Registered: 2013-01-22
Posts: 149

Re: My New Twin Prime Numbers

Can be written as....

And we know

So,

569,673=(1x2)+(2x4)+(4x6)+(6x8)+(10x12)+(12x14)+(16x18).


"Time not important. Only life important." - The Fifth Element 1997

Offline

#197 2016-05-31 17:03:19

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Dear Primenumbers, the idea of the equations is to get the largest primes or perhaps they simply non-existence as n goes into the infinity. There are several types of equations formed from the generalize equation (i.e. n=integers, n=primes, n=square numbers).

Offline

#198 2016-06-14 01:35:06

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Extension into negative Primes

Example

Offline

#199 2016-06-17 17:58:13

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

Extension into odd numbers instead of using primes

Where

Example

Last edited by Stangerzv (2016-06-17 18:35:05)

Offline

#200 2016-07-06 00:15:34

Stangerzv
Member
Registered: 2012-01-30
Posts: 266

Re: My New Twin Prime Numbers

There are lesser resultant primes using odd number inputs. The next prime for Pt=2 is given as follows

Offline

Board footer

Powered by FluxBB