All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
50 - Digit Number (Posted on 2003-11-15) Difficulty: 3 of 5
A number of 50 digits has all its digits equal to 1 except the 26th digit. If the number is divisible by 13, then find the digit in the 26th place.

See The Solution Submitted by Ravi Raja    
Rating: 3.0000 (7 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Another Approach | Comment 32 of 43 |
I get an answer of 8 using the following approach:

A 50-digit integer, N, with all digits equal to 1, can be obtained as follows:

N = (10^50)/9 - 1/9

This can be converted to a 50-digit integer, M, with all 1s except for the digit x in the 26th position, by addition:

M = N + x*10^25

where x is chosen to make M divisible by 13.

If we divide (10^50)/9 by 13 we get a repeating pattern of the six numbers 854700, beginning in the 48th digit to the left of the decimal. This means that the decimal part of the resulting number is 0.854700854700...

If we divide 1/9 by 13 we get this same repeating pattern as follows: 0.008547008547...

Taking the difference (i.e., calculating N/13), we get for the decimal part: 0.8461538462, with the last decimal rounded.

We want an x such that (x*10^25)/13 will have a decimal part that, when added to N/13, gives all zeros to the right of the decimal (i.e., makes M an integer). The integer 8 meets this condition, because 8/13 gives a repeating pattern of the six numbers 615384. Calculating (8*10^25)/13 leads to the the following decimal portion: 0.1538461538 to 10 decimal places. The leading 6 in the series ends up to the left of the decimal. Now we add the decimal portions of N/13 and (8*10^25)/13:

0.8461538462 + 0.1538461538 = 1.0000000000

Thus, M is divisible by 13 if the number 8 occupies the 26th digit.
  Posted by NK on 2004-02-10 10:32:01
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information