Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Number theory
Reply
 
Thread Tools Display Modes
  #1  
Old November 2nd, 2009, 07:06 AM
Member
 
Join Date: Apr 2009
Posts: 189
Country:
Thanks: 21
Thanked 0 Times in 0 Posts
Aquafina is on a distinguished road
Default 10 digit number

A 10 digit number is made up of only 5s and 0s. It's also divisible by 9. How many possibilities are there for the number?

Working backwards, I cam e to the conclusion that it cannot end in a 0, as that would been there was a remainder of 9 from the previous number. Then if it ends in a 5, that means a remainder of 4 was there from the previous. Now that could mean the 2nd last digit is either 0 or 5. But I'm lost after that, don't think I can apply this reasoning till the first digit.
Reply With Quote
Advertisement
 
  #2  
Old November 2nd, 2009, 08:09 AM
Senior Member
 
Join Date: Apr 2009
Location: Atlanta, GA
Posts: 370
Country:
Thanks: 40
Thanked 98 Times in 82 Posts
Media_Man will become famous soon enoughMedia_Man will become famous soon enough
Send a message via AIM to Media_Man
Default

So you are solving \sum_{n=0}^9 a_n10^n\equiv 0 (\bmod 9), where each a_n\in\{0,5\}. Since 10^n\equiv 1 (\bmod 9) for all n, all you have is 9|\sum_{n=0}^9 a_n. Since a_n is either 0 or 5, you really have 9|5k for some k, which can only be 0 or 9. So you either have all zeroes, no fives, or 9 fives, 1 zero. There is one solution for the first option, and _{10}P_1=10 solutions for the second option, so your answer is 11.
__________________
"A mathematician is a device for turning coffee into theorems." ~Paul Erdős
Reply With Quote
  #3  
Old November 2nd, 2009, 08:28 AM
Member
 
Join Date: Apr 2009
Posts: 189
Country:
Thanks: 21
Thanked 0 Times in 0 Posts
Aquafina is on a distinguished road
Default

Hi Media Man.

Sorry I didn't follow what you did on:

Quote:
Originally Posted by Media_Man View Post
Since 10^n\equiv 1 (\bmod 9) for all n, all you have is 9|\sum_{n=0}^9 a_n. Since a_n is either 0 or 5, you really have 9|5k for some k, which can only be 0 or 9.
So you divided the coefficients of each power of 10 by 9, and since each 10 leaves a remainder of 1, that equals 9 so they can be ignored. OK

Then how do you the next bit with the 5k?
Reply With Quote
  #4  
Old November 2nd, 2009, 08:35 AM
Senior Member
 
Join Date: Apr 2009
Location: Atlanta, GA
Posts: 370
Country:
Thanks: 40
Thanked 98 Times in 82 Posts
Media_Man will become famous soon enoughMedia_Man will become famous soon enough
Send a message via AIM to Media_Man
Default

The jump to "so 9|5k" just means you are looking for a 10 digit number consisting of k 5's in any order whatsoever. In other words, the power of 10 for which they are coefficients is irrelevant. So 505=550=055 (mod 9), for example.
__________________
"A mathematician is a device for turning coffee into theorems." ~Paul Erdős
Reply With Quote
  #5  
Old November 2nd, 2009, 03:40 PM
Junior Member
 
Join Date: Aug 2009
Posts: 65
Thanks: 12
Thanked 20 Times in 20 Posts
Bingk is on a distinguished road
Default

a_9 \cdot 10^9 + a_8 \cdot 10^8 + a_7 \cdot 10^7 + ... + a_3 \cdot 10^3 + a_2 \cdot 10^2 + a_1 \cdot 10^1 + a_0 \cdot 10^0 \equiv 0 \ (\bmod \ 9)

Since 10^n\equiv 1 \ (\bmod \ 9)

a_9 \cdot 1 + a_8 \cdot 1 + a_7 \cdot 1 + ... + a_3 \cdot 1 + a_2 \cdot 1 + a_1 \cdot 1 + a_0 \cdot 1 \equiv 0 \ (\bmod \ 9)

Since the a's are either 0 or 5, when you add them, it's basically a multiple of 5, right? (if there are x a's that are equal to 5, then the sum of the digits will be 5x)

That's how Media_Man got: 5k \equiv 0 \ (\bmod \ 9) i.e. 9|5k, where 0 \leq k \leq 10

You can think of it this way, do you know how to tell if a number is divisible by 9? (The sum of the digits should be divisible by 9, we kind of have a modified proof here for a 10 digit number) So, how many 5's should the number have so that when you sum up all the 5's, it should be divisible by 9?

I think the answer is actually 9 ... since 0 isn't a 10 digit number and 0555555555 isn't a 10 digit number either ... I guess it depends though ...

You can also check those 9 numbers by dividing them by 9 ... it's only 9 numbers

Last edited by Bingk; November 2nd, 2009 at 03:42 PM. Reason: Added how to check
Reply With Quote
  #6  
Old November 2nd, 2009, 03:51 PM
MHF Contributor

 
Join Date: Aug 2006
Posts: 6,734
Thanks: 69
Thanked 2,490 Times in 2,284 Posts
Plato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond repute
Default

There is a really simple way to solve this.
If an integer is divisible by nine the sum of the digits is multiple of nine.
To have a ten digit number then the string must begin with a 5 followed by eight 5’s and one 0 in any order.
So the answer is 9.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 02:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.