Arithmetic/Divisibility homework problem

Click For Summary

Homework Help Overview

The problem involves finding integer values of n that satisfy the divisibility condition n-2 | n²-n+3. Participants explore various methods to approach the problem, including the use of the quadratic formula and the definition of divisibility.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss using the Euclidean division and the quadratic formula to derive an equation involving a new variable k. There are questions about the necessity of finding the discriminant and how to interpret the results of the quadratic equation.

Discussion Status

The discussion is ongoing, with various methods being proposed and explored. Some participants express confusion about the algebraic steps, while others suggest alternative approaches. There is a recognition of multiple valid methods to solve the problem, but no consensus on the best approach has been reached.

Contextual Notes

Some participants note the importance of understanding the role of k in the problem and the implications of assuming integer values for n. There is also mention of the need to clarify assumptions about the nature of n (positive or negative integers).

mtayab1994
Messages
584
Reaction score
0

Homework Statement



Solve for n in the following equations:

n-2\mid n^{2}-n+3

Homework Equations


The Attempt at a Solution



Should i use the euclidean division to solve it? Thank you before hand.

Edit: When i used euclidean division i got n+1 and a remainder of 5 but i don't know how to get n.
 
Last edited:
Physics news on Phys.org


Start by using the definition of divides to produce an equation. This equation will introduce a new variable, say, k. Solve for n using the quadratic formula (which will involve k) and then choose values of k so that n is an integer (I assume n is an integer in this problem).

See what you come up with!
 


So that means you should get: n^2-n+3=k(n-2) am i right?
 


mtayab1994 said:
So that means you should get: n^2-n+3=k(n-2) am i right?
Right.
 


Mark44 said:
Right.

Yes now how can i continue from there?
 


Ever heard of quadratic equations?
 


Whovian said:
Ever heard of quadratic equations?

Yes, but n^2-n+3 doesn't have any real roots, if that's what you're talking about.
 


No, we group everything on one side of the equation so we have coefficients in terms of k and solve THAT.
 


Whovian said:
No, we group everything on one side of the equation so we have coefficients in terms of k and solve THAT.

So we get: n^2-k(n-2)-n+3=0, but where are we supposed to get b^2-4ac. Is b=k(n-2)?
 
  • #10


Not quite. We get n^2-(k+1)n+(2k+3)=0 after multiplying out and grouping like terms, and it should be obvious how to proceed from here.
 
  • #11


So for Δ i got k^2-6k-11 and then i counted the discriminant again and i got 80. Is what I've done so far correct?
 
Last edited:
  • #12


Reread what scurty wrote in post #2. He laid out pretty much what you need to do.
 
  • #13


Mark44 said:
Reread what scurty wrote in post #2. He laid out pretty much what you need to do.

So there is no need to find the discriminant of the equation : n^2-(k+1)n+(2k+3)=0?
 
  • #14


I don't see any need for finding the discriminant in this problem.
 
  • #15


Mark44 said:
I don't see any need for finding the discriminant in this problem.

But the quadratic formula involves finding the discriminant, or do i just use random values of k?
 
  • #16


Of course you find the discriminant in the quadratic formula. What I meant was that there's no reason to find it and stop there.

Again, take a look at what scurty said in post #2. You are asking questions that suggest you haven't read it or didn't understand it.
 
  • #17


Mark44 said:
Of course you find the discriminant in the quadratic formula. What I meant was that there's no reason to find it and stop there.

Again, take a look at what scurty said in post #2. You are asking questions that suggest you haven't read it or didn't understand it.

Well, he said to produce a new equation, which I did and then he said to find n using the quadratic formula, which will involve k, and that's what I did. I'm confused because we have just started this lesson, and we haven't done any problem like this so far.
 
  • #18


Did you solve the quadratic equation for n? If so, what did you get?
 
  • #19


Mark44 said:
Did you solve the quadratic equation for n? If so, what did you get?

For n^2-(k+1)n+(2k+3)=0 I got a discriminant of k^2-6k-11 then i solved that equation and I got Δ=80 so i got k1=3+2√5 and k2=3-2√5.
 
  • #20


Solve n^2-(k+1)n+(2k+3)=0 for n[/color].
 
  • #21


Mark44 said:
Solve n^2-(k+1)n+(2k+3)=0 for n[/color].

Ok when solving for n i got : n=\frac{k+\sqrt{k^{2}-8k+4}}{2},\frac{k-\sqrt{k^{2}-8k+4}}{2}
 
  • #22


mtayab1994 said:
Ok when solving for n i got : n=\frac{k+\sqrt{k^{2}-8k+4}}{2},\frac{k-\sqrt{k^{2}-8k+4}}{2}

No.

Do you know how to use the quadratic formula? You said before that the discriminant was k2 - 6k -11, but that's not what you show above.
 
  • #23


Mark44 said:
No.

Do you know how to use the quadratic formula? You said before that the discriminant was k2 - 6k -11, but that's not what you show above.

yes instead of k^2-8k+4 should be k^2-6k-11
 
  • #24


I think i got it for k^2-6k-11=0 we get n =(k+1)/2 right?
 
  • #25


After you make that correction, there is still another one you need to make.

Then READ POST #2!
 
  • #26


For what it's worth, when I solved this, I got 4 answers for n. I'm not sure if there is a theorem that's states a maximum number for n based on certain criteria, but I tested out about 30 values for k and only two of them worked. Maybe someone else can chime in.
 
  • #27


mtayab1994 said:
I think i got it for k^2-6k-11=0 we get n =(k+1)/2 right?
Why do you think that k^2-6k-11=0?
 
  • #28


Well after all you really don't need to form and equation and give values for k all you have to do is:
n-2\mid n^{2}-n+3\Longleftrightarrow\frac{(n-2)(n+1)+5}{n-2}\Longleftrightarrow n+1+\frac{5}{n-2}

and since: (n+1)\in Z therefore: \frac{5}{n-2}\in Z

thus: n-2\mid5Then you form a table with 2 rows one row contains the divisors of '5' and the other row contains n the number that we have to plug into n-2 to get that divisor of 5. Like the following.

(n-2) 1 -1 5 -5

(n) 3 1 7 -3

And then the solutions are: S=\{-3,1,3,7\}

So how's that? I think my way is a lot easier then solving all of those equations.
 
  • #29


Those are the answers I got. There are often more ways than one to solve a problem, in this case, that method would probably be the easiest way to solve the problem. However, you seemed to struggle with simple algebra involving solving for a quadratic equation.. You might want to touch up on that a bit for the future. Algebra techniques are common in number theory, I remember using the quadratic formula numerous times when I took the course, it would be wise to understand why the other method works as well.

Edit: I just noticed that you don't have k anywhere in your equation. The definition of divides introduces a new variable, you can't just assume k=1, you have to explain why certain values of k work and others don't. It works in this case but not all cases.
 
Last edited:
  • #30


Sorry for butting in, but I like to think of myself as a decent mathematician who has terrible difficulty with number theory.

I couldn't solve this at all. I had to write a program to solve for all cases for 1 to 1000 and I got the same answers: 3 & 7

Could someone please tell me where I'm going wrong analytically?

PS I've read post #2.
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
3
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K