Search   Memberlist   Usergroups
 Page 1 of 1 [2 Posts]
Author Message
gsax
science forum beginner

Joined: 12 Jul 2005
Posts: 44

Posted: Sat Jul 16, 2005 3:44 am    Post subject: primality preserving function?

Hi

I was trying to come up with a function that is primality
preserving..i.e. let the function be f(x)...then I want

f(x) > x
&
f(x) is prime iff x is prime...

I have not been able to produce such a function...

I would like to know , if anyone has a example of such a function..

best regards
Gsax
Gottfried Helms
science forum Guru

Joined: 24 Mar 2005
Posts: 301

Posted: Fri Jul 29, 2005 11:50 am    Post subject: Re: primality preserving function?

Jim Spriggs schrieb::
 Quote: gsax wrote: Define formula. Ok, so I have to define what I mean by a formula..! well that is a tough one... but let me try to say that the formula shall consist only of addition/subtraction, multiplication/division, exponentiation... Then I think your quest is a hopeless one. At present.

a bit out of seriousness... ;-)

f(x) = {log(x+1)/log(2) iff the result is a positive integer
{ 0 else

Gottfried Helms

 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 Page 1 of 1 [2 Posts]
 The time now is Tue Nov 21, 2017 6:02 am | All times are GMT
 Jump to: Select a forum-------------------Forum index|___Science and Technology    |___Math    |   |___Research    |   |___num-analysis    |   |___Symbolic    |   |___Combinatorics    |   |___Probability    |   |   |___Prediction    |   |       |   |___Undergraduate    |   |___Recreational    |       |___Physics    |   |___Research    |   |___New Theories    |   |___Acoustics    |   |___Electromagnetics    |   |___Strings    |   |___Particle    |   |___Fusion    |   |___Relativity    |       |___Chem    |   |___Analytical    |   |___Electrochem    |   |   |___Battery    |   |       |   |___Coatings    |       |___Engineering        |___Control        |___Mechanics        |___Chemical

 Topic Author Forum Replies Last Post Similar Topics Generating function for Mathieu functions cosmicstring@gmail.com Math 1 Fri Jul 21, 2006 8:39 am Choice function over finite sets Peter Webb Math 5 Fri Jul 21, 2006 3:28 am Function from Taylor series? Nathan Urban Research 1 Thu Jul 20, 2006 12:48 am Function not in L_1 {[0,1]}, but satisfies ...? atkrunner@hotmail.com Math 12 Thu Jul 20, 2006 12:46 am Primality & Factoring Gerry num-analysis 3 Tue Jul 18, 2006 10:45 am