image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

image 2 Questions Share It Thread Tools Search this Thread image
Old May31-09, 03:57 PM                  #1
Matthollyw00d

Matthollyw00d is Offline:
Posts: 41
2 Questions

First Question:
Let Nn be the integer whose decimal expansion consists of n consecutive ones. For example, N2=11 and N7=1,111,111. Show that Nn|Nm iff n|m.

Second Question:
If (a,c)=1, prove that (a,bc)=(a,b).

On the second question I can see that it is true because a and c are relatively prime, I realize that ax1+bx2=1, but I'm having difficulty expressing it in a proof satisfactory way. I think I'm just over looking a fact somewhere in my text.

As for the first one, I'm not very certain as to where at all to start, so any and all help here would be appreciated.

Note that I'm not really wanting the full proof of either, more or less just a few helpful pointers or some key facts that are needed that I'm missing; something to get me started so I can get a better attempt at it.

If anything is unclear, I'll be happy to restate it in a more satisfactory format if possible.

Thanks all.
Thanks all.
  Reply With Quote
Old May31-09, 04:58 PM                  #2
tiny-tim
 
tiny-tim's Avatar

Homework Helper 2008

tiny-tim is Online:
Posts: 9,294
Blog Entries: 27
Recognitions:
PF Contributor PF Contributor
Homework Helper Homework Helper
Science Advisor Science Advisor
Hi Matthollyw00d!

You're making this far too complicated …
Originally Posted by Matthollyw00d View Post
First Question:
Let Nn be the integer whose decimal expansion consists of n consecutive ones. For example, N2=11 and N7=1,111,111. Show that Nn|Nm iff n|m.

Second Question:
If (a,c)=1, prove that (a,bc)=(a,b).
For the first one, just divide … what is the remainder?

For the second, write a = np, b = nq, bc = nqc …
  Reply With Quote
Old May31-09, 09:25 PM                  #3
Matthollyw00d

Matthollyw00d is Offline:
Posts: 41
Re: 2 Questions

Would this be sufficient for the first one:

Assume Nn|Nm, then (t)Nn=Nm, t≥1. For all m,n≥1, there exists q,r such that m=qn + r, 0≤r<n.
Next assume m does not divide n, therefore 1≤r<n.
Thus Nm=Nqn+r=10r(s)Nn+Nr
Then, (t)Nn=Nqn+r=10r(s)Nn+Nr
Thus, Nr=Nn(t-s10r)=Nn(d), d≥1, which implies r≥n, which contradicts our hypothesis of r<n.
Thus Nn|Nm iff n|m.
  Reply With Quote
Old Jun2-09, 05:07 PM                  #4
ramsey2879

ramsey2879 is Offline:
Posts: 546
Blog Entries: 2
Re: 2 Questions

Originally Posted by Matthollyw00d View Post
Would this be sufficient for the first one:

Assume Nn|Nm, then (t)Nn=Nm, t≥1. For all m,n≥1, there exists q,r such that m=qn + r, 0≤r<n.
Next assume m does not divide n, therefore 1≤r<n.
Thus Nm=Nqn+r=10r(s)Nn+Nr
Then, (t)Nn=Nqn+r=10r(s)Nn+Nr
Thus, Nr=Nn(t-s10r)=Nn(d), d≥1, which implies r≥n, which contradicts our hypothesis of r<n.
Thus Nn|Nm iff n|m.
If you work out a couple of divisions as a grade school student is taught a simpler proof should be apparent. First try LaTeX Code: /N_6/N_2 to get 010101. Then Try LaTeX Code: N_8/N_4 to get 00010001. Now what would the result of LaTeX Code: N_20/N_5 be?
  Reply With Quote
Old Jun2-09, 11:08 PM                  #5
Matthollyw00d

Matthollyw00d is Offline:
Posts: 41
Re: 2 Questions

Originally Posted by ramsey2879 View Post
If you work out a couple of divisions as a grade school student is taught a simpler proof should be apparent. First try LaTeX Code: /N_6/N_2 to get 010101. Then Try LaTeX Code: N_8/N_4 to get 00010001. Now what would the result of LaTeX Code: N_2_0/N_5 be?
00001000010000100001
But I'm not seeing a proof that is simpler than what I did unfortunately. =/
  Reply With Quote
Old Jun5-09, 12:06 PM       Last edited by ramsey2879; Jun5-09 at 12:16 PM.. Reason: mod operator            #6
ramsey2879

ramsey2879 is Offline:
Posts: 546
Blog Entries: 2
Re: 2 Questions

Originally Posted by Matthollyw00d View Post
00001000010000100001
But I'm not seeing a proof that is simpler than what I did unfortunately. =/
Assume 0 < r < n
LaTeX Code: m = tn + r
LaTeX Code: N_{m} = N_{m} - (10^{(t-1)*n + r})*N_{n} \\mod N_n
LaTeX Code: N_{m} = N_{m-n} \\mod N_{n}
LaTeX Code: N_{m} = N_{m-n} - (10^{t-2}*n + r})*N_{n} \\mod N_n
LaTeX Code: 0 = N_{m-2n} \\mod N_{n}
...
LaTeX Code: 0 = N_{m - tn} \\mod N_n
LaTeX Code: 0 = N_{r} \\mod N_n
LaTeX Code:  r = 0
  Reply With Quote
Old Jun5-09, 04:04 PM                  #7
Matthollyw00d

Matthollyw00d is Offline:
Posts: 41
Re: 2 Questions

That would be why I didn't see it, I've yet to learn Modular Arithmetic.
  Reply With Quote
Old Jun6-09, 04:45 PM                  #8
ramsey2879

ramsey2879 is Offline:
Posts: 546
Blog Entries: 2
Re: 2 Questions

Originally Posted by ramsey2879 View Post
Assume 0 < r < n
LaTeX Code: m = tn + r
LaTeX Code: N_{m} = N_{m} - (10^{(t-1)*n + r})*N_{n} \\mod N_n
LaTeX Code: N_{m} = N_{m-n} \\mod N_{n}
LaTeX Code: N_{m} = N_{m-n} - (10^{t-2}*n + r})*N_{n} \\mod N_n
LaTeX Code: 0 = N_{m-2n} \\mod N_{n}
...
LaTeX Code: 0 = N_{m - tn} \\mod N_n
LaTeX Code: 0 = N_{r} \\mod N_n
LaTeX Code:  r = 0
redoing this
LaTeX Code: m = tn + r
If LaTeX Code: N_{n}|N_{m} then LaTeX Code: N_{n} also divides:
LaTeX Code: N_{m} - (10^{(t-1)*n + r})*N_{n}  which has the same remainder i.e., zero But that is LaTeX Code:   N_{m-n}  since you just removed the first n LaTeX Code: 1 's. This is simply going through the longhand division process as the divisor multiplied by LaTeX Code: 10 to the appropiiate power removes the n most righthand LaTeX Code: 1 's. When doing longhand division in this manner you are not changing the ultimate remainder so we can say that the new term LaTeX Code: N_{m-n} = N_{m} \\mod N_n (i.e. they have the same remainder if divided by LaTeX Code: N_n ).
Likewise we continue the longhand division process by removing the next n most righthand LaTeX Code: 1 's and so on until we removed t*n LaTeX Code: 1 's. The resulting number comprises r LaTeX Code: 1 's and has the same remainder as the original number. So we say LaTeX Code: N_{m} = N_{r} \\mod N_n iff LaTeX Code: m = r \\mod n . Since n|m, r = zero is the only possible r less than n.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: 2 Questions
Thread Thread Starter Forum Replies Last Post
Can u plz help me with this questions ??? eman.kh General Math 2 Nov4-07 09:15 PM
Questions byerly100 Advanced Physics 3 Oct3-06 02:38 PM
two questions...help please smileyjen523 Introductory Physics 4 Oct10-05 10:48 AM
Three questions. mprm86 General Physics 3 Mar31-05 12:33 AM
Two EPR questions Blake Winter General Physics 90 Nov25-04 04:36 AM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image