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

Home > Numbers
Strings of Nines (Posted on 2013-05-29) Difficulty: 2 of 5
The set of numbers {9, 99, 999, 9999, ...} has some interesting properties. One of these has to do with factorization. Take any number n that isn't divisible by 2 or by 5. You will be able to find at least one number in the set that is divisible by n. Furthermore, you won't need to look beyond the first n numbers in the set.
Prove it.

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution a d1 answer (+background) | Comment 1 of 2


1.      Take a  rational number n that has neither 2 nor 5 in its factorization. 

2.      Calculate the quotient q = 1/n by continuous division.

3.      Consider   the numbers to the right of the decimal point. Those numbers will contain a repetend - a repeating series of digits.

4.      Call it p.

5.      The number of p's  digits is  always less than n,   that is at most n-1.

6.      Converting  the periodic decimal fraction into regular fraction is done by the following formula :
1/n= p/99..999 ,  where the number of nines equals to the number of repetend's digits.(WHY? -see an example below)

A D1  Solution:


1/n= p/9..9999 ( les than n  nines ).


Since  n is an integer  99999 is divisible by n.



n=7   1/7=per,frac. =,142857142857142857=F 

1000000*f-f= 999999f=p  

1/7= 142857/999999

S0 999999 must be divisible by 7.

Edited on May 29, 2013, 11:48 am
  Posted by Ady TZIDON on 2013-05-29 11:41:22

Please log in:
Remember me:
Sign up! | Forgot password

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

Copyright © 2002 - 2019 by Animus Pactum Consulting. All rights reserved. Privacy Information