Ask Experts Questions for FREE Help !
Ask
    mastamilla's Avatar
    mastamilla Posts: 5, Reputation: 1
    New Member
     
    #1

    Jan 7, 2007, 11:56 AM
    hard math problem
    a buddy of mine likes to post hard math questions on his myspace blog for us to solve. I'm not a math guy but its nice to know the answer so a little help would be great.

    here it is

    Assume x is an integer with many, many digits. In fact, just assume it has a googol digits. What is the minimum number of digits you need to know from x to determine if it is divisible by:

    17?
    40?
    128?
    3125?



    good luck
    Capuchin's Avatar
    Capuchin Posts: 5,255, Reputation: 656
    Uber Member
     
    #2

    Jan 7, 2007, 12:04 PM
    Well I can do 40, if the last digit is 0 and the penultimate 2 digits are divisible by 4 then it is divisible by 40.

    i.e.. You need the last 3 digits.

    The other ones I need more time to think about :)
    mastamilla's Avatar
    mastamilla Posts: 5, Reputation: 1
    New Member
     
    #3

    Jan 7, 2007, 01:11 PM
    Well think hard and quick!
    dmatos's Avatar
    dmatos Posts: 204, Reputation: 26
    Full Member
     
    #4

    Jan 7, 2007, 11:08 PM
    128 = 2^7. 10 = (5 x 2).

    To be sure that the number is divisible by 128, you will need the last seven digits. This is because 10^7, and all multiples of 10^7, are divisible by 128.

    Similarly, 3125 = 5^5, so you'll need the last five digits to determine if the number is divisible by 3125.

    17 is a prime number, and will not divide evenly into any multiple of ten. Intuitively, this tells me that you will require all of the digits of the number to determine if it is divisible by 17. Unfortunately, I don't have a rigorous mathematical proof of this.

    BTW - 40 = 5 x 2^3, so you'll need the last three digits, just as Capuchin says.
    Capuchin's Avatar
    Capuchin Posts: 5,255, Reputation: 656
    Uber Member
     
    #5

    Jan 7, 2007, 11:19 PM
    I had the same inkling about 17 as dmatos did. If that helps :)
    BIGBUG13's Avatar
    BIGBUG13 Posts: 1, Reputation: 1
    New Member
     
    #6

    Sep 15, 2008, 03:26 PM
    40 : you need to have 3 right digits
    17 : you can't tell and have to see all of it.
    128: you have to have7 the first digits.
    3125:you have to have 5 the first numbers.
    I'm 100% sure.
    norma21's Avatar
    norma21 Posts: 1, Reputation: 1
    New Member
     
    #7

    Sep 15, 2008, 04:51 PM
    3x+2y=2
    y+8=3x
    ebaines's Avatar
    ebaines Posts: 12,131, Reputation: 1307
    Expert
     
    #8

    Sep 16, 2008, 01:11 PM
    Quote Originally Posted by BIGBUG13
    40 : you need to have 3 right digits
    17 : you can't tell and have to see all of it.
    128: you have to have7 the first digits.
    3125:you have to have 5 the first numbers.
    I'm 100% sure.
    Interesting problem - I like it, and the solution looks good. However -- no where does the problem state that you are limited to numbers in base 10. So, for example, if the number is given in hexadecimal (base 16), and recognizing that 128 is hexadec 80, you can determine if a number is divisible by 128 with just the last two digits. If the number is given in base 17, the determination of whether its divisible by 17 is trivial.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Could someone help with my math problem [ 3 Answers ]

Jim and Alice Lange, employees at Wal-Mart, have put themselves on a strict budget. Their goal at year’s end is to buy a boat for $15,000 in cash. Their budget includes the following: 40% food and lodging 20% entertainment 10% educational Jim earns $1,900 per month and Alice earns $2,400...

Math Problem [ 5 Answers ]

I am having a problem with one equation that is ab-cd=0. I am supposed to solve for c and have been stuck on it. Can anyone help me?

Math problem [ 10 Answers ]

The pasteurization temperature of milk by the High Temperature Short Time (HTST process is 161 Fahrenheit. What is this temperature in Centigrade? How do you work the problem and show all the work on paper.

Math problem [ 6 Answers ]

Kyle is a world class tennis player and goes to practice with some bags of tennis balls. Kyle has five bags containing a total of 50 tennis balls. The first and second bags contain a total of 21 tennis balls, the second and third bags contain 20 tennis balls, and the third and fourth contain 21...

Math problem [ 3 Answers ]

A restaurant sink compartment is 30" long and 24" wide. If filled to a depth of 12 inches, how many gallons are in the sink? I divided 35/171 my ans. Was 2.0467 and I rounded it to 2.05 GPG dosage. I'm sure it's wrong, but I don't know what I'm doing. How do you work the problem and show...


View more questions Search