Arithmetic/Divisibility homework problem

  • #31


oay said:
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.

But you're missing -3 and 1 they are also answers in Z.
 
Physics news on Phys.org
  • #32


mtayab1994 said:
But you're missing -3 and 1 they are also answers in Z.
I got those too, I assumed n was positive, but I admit n=1 is a fair solution but is trivial.

How come Z comes suddenly into it?
 
Last edited:
  • #33


oay said:
I got those too, I assumed n was positive, but I admit n=1 is a fair solution.

Oh alright it's pretty easy solving it my way just look at my steps and see what I did. By the way that 5 I got in the numerator is the remainder you get when you do the Euclidean Division.
 
  • #34


mtayab1994 said:
Oh alright it's pretty easy solving it my way just look at my steps and see what I did.
I actually appreciated your method; I didn't say anything against it.
 
  • #35


oay said:
I actually appreciated your method; I didn't say anything against it.

What method do you use to solve them and by the way i have another one for you to solve if you want. Look at the other thread I'm going to post so you can see it.
 
  • #36


mtayab1994 said:
What method do you use to solve them and by the way i have another one for you to solve if you want. Look at the other thread I'm going to post so you can see it.
You've already replied to my post that said I couldn't solve it.
 
  • #37


oay said:
You've already replied to my post that said I couldn't solve it.

Oh sorry my fault.
 
  • #38


mtayab1994 said:
Oh sorry my fault.

No problem. Are you Indian?
 
  • #39


oay said:
No problem. Are you Indian?

Nope, I'm actually Moroccan. How about you?
 
  • #40


mtayab1994 said:
Nope, I'm actually Moroccan. How about you?
English
 
  • #41


Go take a look at my other thread so we can stop posting on this thread.
 
  • #42


mtayab1994 said:
Go take a look at my other thread so we can stop posting on this thread.
Which is where?
 

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 4 ·
Replies
4
Views
2K