wu :: forums
« wu :: forums - Multiple with all odd digits »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 12:44pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: ThudnBlunder, william wu, Eigenray, SMQ, Grimbal, towr, Icarus)
   Multiple with all odd digits
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Multiple with all odd digits  (Read 819 times)
Aryabhatta
Uberpuzzler
*****






   


Gender: male
Posts: 1321
Multiple with all odd digits  
« on: Mar 11th, 2010, 6:18pm »
Quote Quote Modify Modify

For any natural number n, there is an n digit multiple of 5n such that each of the n digits is odd (working in base-10, of course).
 
Prove.
 
E.g:  
54*15 = 9375, a 4-digit number with all odd digits.
 
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Multiple with all odd digits  
« Reply #1 on: Mar 12th, 2010, 2:18am »
Quote Quote Modify Modify

Suppose we have an n-1 all-odd-digit number 5n-1*k, then we can try to put an odd digit in front of it, such that 5n-1*k + 5n-1*2n-1*m = 5n*l  (where m {1,3,5,7,9} is the new front digit)
So given a k, we need to find an m that satisfies k + 2n-1*m = 5*l. Because 5 and 2 are coprime, we can always find an m = -k/2n-1 (mod 5) = -k*3n-1 (mod 5). This gives us an 0 <= m < 5, but if m is even we can just add 5 to get an odd 0 < m < 10.
« Last Edit: Mar 12th, 2010, 2:29am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Aryabhatta
Uberpuzzler
*****






   


Gender: male
Posts: 1321
Re: Multiple with all odd digits  
« Reply #2 on: Mar 12th, 2010, 8:54am »
Quote Quote Modify Modify

Correct! Well done.
 
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board