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

Home > Numbers
Niners (Posted on 2002-10-23) Difficulty: 4 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.

(from http://www.ocf.berkeley.edu/~wwu/riddles/)

See The Solution Submitted by levik    
Rating: 4.2500 (8 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Thanks to Euler | Comment 10 of 15 |
Solution follows straight from
1. Euler's Totient Function 'phi(x)': number of numbers less than 'x' and relatively prime to 'x'.
2. Euler's Theorem: If gcd(a,m)=1 then a^phi(m) = 1 (mod m)

Explaination:
since gcd(10,n)=1 due to 'n' not being divisible by 2 or 5, 10^phi(n) = 1 (mod n). That is, (10^phi(n) - 1) is divisible by 'n'. Also, phi(n)<=n by the very definition of it.

That was a very good question, it got me thinking at the first glance! i am new to this group... any tips?
I believe:
Maths is the king of all sciences.
Number Theory is the queen of Maths.
Problem Solving is the life of life.

  Posted by Vikram on 2002-12-31 07:43:12
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 (3)
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