Finding Prime & Composite Numbers Using x Squared -x+41

  • Thread starter Thread starter yomamacjo
  • Start date Start date
  • Tags Tags
    Formula
AI Thread Summary
The discussion focuses on using the formula x squared - x + 41 to identify prime and composite numbers by substituting various values for x. Participants emphasize that there is no formula that exclusively produces prime numbers, and users are encouraged to test different integers to find composite results. An example is provided, demonstrating how to calculate the output of the formula for x=3, which yields 47, a prime number. Additionally, guidance is given on how to determine if a number is prime by testing divisibility. The overall aim is to experiment with the formula and share findings for further assistance.
yomamacjo
Messages
1
Reaction score
0

Homework Statement


Mathematicians have been searching for a formula that yields prime numbers. One such formula was:

x squared -x+41

select some numbers for x, substitute in formula- see if prime numbers occur. try to find a number for x that when substituted in the formula yields a composite number

Homework Equations





The Attempt at a Solution



 
Last edited:
Physics news on Phys.org
x can be any number so substitute some in and see what comes out. Show us the result and we can help you further. State what your problem with this is if you still can't figure out what to do...

Do you know how to check if the number is a prime? Do you know how to substitute numbers in the formula? Try it and show us the results. If you don't know, try something and show us the results. Don't worry if it is wrong. I'm pretty dumb myself compared to Halls of Ivy and the other math experts...
 
Last edited:
yomamacjo said:

Homework Statement


Mathematicians have been searching for a formula that yields prime numbers. One such formula was:

x squared -x+41

select some numbers for x, substitute in formula- see if prime numbers occur. try to find a number for x that when substituted in the formula yields a composite number
You titled this "looking for formula". Are you under the impression that you are asked to find "a formula that yields (only) prime numbers"? There is no such formula! Just DO exactly what you are told to do! Start with x= 1, 2, 3, etc., do the arithmetic and see what happens. Keep going until you find a result that is not prime. (In particular it should be obvious that x= 41 will NOT give a prime number: 412- 41+ 41= (41)(41). That may not be the smallest.

Homework Equations





The Attempt at a Solution

 
I will give you an example to start you off:

Lets take 3:

3 squared is equal to 9 (3x3). minus 3 is 6. The plus 41 is 47. Now the question: Is 47 a prime?

Do you know what a prime is? It is a number greater than 2 that only itself and 1 can divide it without a remander. For instance 7 is a prime because only 1 and 7 divide it evenly -- ie no fraction (for example 7/3 = 2 1/3). Even numbers are not primes because 2 can divide any even number evenly (6/2 = 3 for example).

The best way to find if a number is prime is to divide it in 1/2 (47/2 = 23.5) get rid of the .5 (23) and then start dividing 47 by each non even number until you reach 2. (47/23 = 2.043) and then (27/21 = ...) etc. If you make it to 2 then you have a prime.

Go to it and show us the result so we can tell you if you are doing it right.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top