School Lounge  

Go Back   School Lounge > Math Forum > Math for All
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2005, 08:20 AM
Gilmar Rodr?guez Pierluissi Gilmar Rodr?guez Pierluissi is offline
Junior Member
 
Join Date: Aug 2004
Posts: 3
Default Looking for n for which all 2-partitions are prime partitions.

Dear Mathematica User Group:

Is it possible to find an even number n => 4 such that the values
(n - Prime[i]) are primes for ALL integers i in the interval
[1, PrimePi[n/2]]? In other words; does an n exists having a
corresponding set {{a,b}: (a + b) = n, with all a,b element of Primes}?

A way to begin attacking this problem follows:

Let "PrimeP" be the set of prime partition points {p,q} corresponding
to n, such that n = p + q; p and q are prime; and p is less or equal
than q.

Let "CompP" be the set of composite partition points {p,q}
corresponding to n, such that n = p + q; p is prime but, q is
composite; and p is less or equal than q.

Let "AllP" be the (disjoint) union of the sets PrimeP and CompP.

Let "LPrimeP", "LCompP", and "LAllP" denote the lengths of the sets
PrimeP, CompP, and AllP, respectively.

For what n's is LPrimeP > LCompP?

A program for heuristic exploration of this later question follows :

Off[General::"spell1"]

Clear[LAll,LPrimeP,LCompP]

LAllP[n_Integer?Positive]:=Length[Transpose@{n-#,#}&@
Select[n-Prime@Range@PrimePi[n/2],IntegerQ]]

LPrimeP[n_Integer?Positive]:=Length[Transpose@{n-#,#}&@
Select[n-Prime@Range@PrimePi[n/2],PrimeQ]]

LCompP[n_Integer?Positive]:=Block[{c},c=(LAllP[n]-LPrimeP[n]);c]

For[n=4,n<Infinity,If[LPrimeP[n]>LCompP[n],
Print[{n,LPrimeP[n],LCompP[n]}]];n+=2]

After running this program for a while;
the value {30030,905,850} is eventually reached.
Unfortunately, seeking n > 30030 implies me
having to abort the program, since it stalls forever.

I'm just wondering if anyone could suggest an alternative approach,
(a proof that such an n doesn't exist would be perfect!)
but, seriously; someway to faccilitate and accelerate the calculations
to reach values of n higher than 30030.

Thank you for your help!

Reply With Quote
  #2  
Old 09-10-2005, 10:57 AM
Peter Pein Peter Pein is offline
Junior Member
 
Join Date: Jun 2005
Posts: 394
Default Looking for n for which all 2-partitions are prime partitions.

Gilmar schrieb:
Quote:
Dear Mathematica User Group: Is it possible to find an even number n => 4 such that the values (n - Prime[i]) are primes for ALL integers i in the interval [1, PrimePi[n/2]]?

....
Quote:
Thank you for your help!


Gilmar,

if n is even, let i=1. Then Prime[i]=2 and n-Prime[i] is even too.

=> No

--
Peter Pein, Berlin
GnuPG Key ID: 0xA34C5A82
http://people.freenet.de/Peter_Berlin/

Reply With Quote
  #3  
Old 09-10-2005, 10:58 AM
Gilmar Rodr?guez Pierluissi Gilmar Rodr?guez Pierluissi is offline
Junior Member
 
Join Date: Aug 2004
Posts: 3
Default Looking for n for which all 2-partitions are prime partitions.

As Daniel Lichtblau and Peter Pein aptly pointed out:
"Either n-3, n-5, or n-7 will be divisible by 3, hence not prime for
[even] n>10".
Touché! Thank you all for your help!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 03:14 PM.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.