Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Science, Math, and Philosophy
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2007, 09:10 PM
sirio11 sirio11 is offline
Senior Member
 
Join Date: Aug 2003
Location: I\'m mad as hell and I can\'t take it anymore ....
Posts: 3,516
Default Russia National Contest Pr 1998-7

A 10-digit number is said to be "interesting" if its digits are all distinct and it's a multiple of 11111. How many "interesting" integers are there?
Reply With Quote
  #2  
Old 10-31-2007, 11:26 PM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: Russia National Contest Pr 1998-7

I just had a solution written out but somehow it erased .

In any case , I figured out that if the 10 digit integer is abcdefghij then it turns out that the solutions are

a+f=9 , b+g=9 , c+h=9 , d+i=9 , e+j=9 as long as we take into account that the first digit cannot be a 0 .

So a solution may be 4321056789 or 5678943210 ...
It's relatively easy to count the total number of solutions given the constraints .
Reply With Quote
  #3  
Old 11-02-2007, 01:44 AM
sirio11 sirio11 is offline
Senior Member
 
Join Date: Aug 2003
Location: I\'m mad as hell and I can\'t take it anymore ....
Posts: 3,516
Default Re: Russia National Contest Pr 1998-7

[ QUOTE ]
It's relatively easy to count the total number of solutions given the constraints .

[/ QUOTE ]

Do tell us the answer.
Reply With Quote
  #4  
Old 11-02-2007, 10:48 PM
furyshade furyshade is offline
Senior Member
 
Join Date: Apr 2006
Posts: 4,705
Default Re: Russia National Contest Pr 1998-7

[ QUOTE ]
I just had a solution written out but somehow it erased .

In any case , I figured out that if the 10 digit integer is abcdefghij then it turns out that the solutions are

a+f=9 , b+g=9 , c+h=9 , d+i=9 , e+j=9 as long as we take into account that the first digit cannot be a 0 .

So a solution may be 4321056789 or 5678943210 ...
It's relatively easy to count the total number of solutions given the constraints .

[/ QUOTE ]

unless im doing something wrong it seems the answer is 10 nPr 10, or 3628800
Reply With Quote
  #5  
Old 11-03-2007, 02:21 AM
sirio11 sirio11 is offline
Senior Member
 
Join Date: Aug 2003
Location: I\'m mad as hell and I can\'t take it anymore ....
Posts: 3,516
Default Re: Russia National Contest Pr 1998-7

[ QUOTE ]
unless im doing something wrong it seems the answer is 10 nPr 10, or 3628800

[/ QUOTE ]

You're counting a lot of numbers not in the solution. Remember, they need to be a multiple of 11111.
Reply With Quote
  #6  
Old 11-03-2007, 07:58 PM
furyshade furyshade is offline
Senior Member
 
Join Date: Apr 2006
Posts: 4,705
Default Re: Russia National Contest Pr 1998-7

[ QUOTE ]
[ QUOTE ]
unless im doing something wrong it seems the answer is 10 nPr 10, or 3628800

[/ QUOTE ]

You're counting a lot of numbers not in the solution. Remember, they need to be a multiple of 11111.

[/ QUOTE ]

then is it 10^5, if there are 10 combinations of x+y=9, and 5 sets of pairs
Reply With Quote
  #7  
Old 11-03-2007, 10:51 PM
sirio11 sirio11 is offline
Senior Member
 
Join Date: Aug 2003
Location: I\'m mad as hell and I can\'t take it anymore ....
Posts: 3,516
Default Re: Russia National Contest Pr 1998-7

It's not 10^5, one of the things you need to remember is that the first digit can not be zero.
Reply With Quote
  #8  
Old 11-03-2007, 11:16 PM
furyshade furyshade is offline
Senior Member
 
Join Date: Apr 2006
Posts: 4,705
Default Re: Russia National Contest Pr 1998-7

[ QUOTE ]
It's not 10^5, one of the things you need to remember is that the first digit can not be zero.

[/ QUOTE ]

so then what is the correct way of doing it, 10,001 seems too obvious
Reply With Quote
  #9  
Old 11-04-2007, 01:53 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: Russia National Contest Pr 1998-7

There are 10^5 solutions to the 5 equations .

Now we subtract the number of ways a=0 and f=9 .
This means there are 8 available numbers for the four equations and so we have 10^5 - 8^4 = 95,904

================================================== =======

Here is the solution :

The 10-digit number can be written as
a*10^9 + b*10^8 + c*10^7 + ...+ i*10^1 +j*10^0

a*10^9 =a*10^4mod11111
b*10^8=b*10^3mod11111
c*10^7=c*10^2mod11111
d*10^6=d*10^1mod11111
e*10^5=e*10^0mod11111

So we require

(a+f)*10^4 + (b+g)*10^3 + ... + (e+j)*10^0 =y*11111 for 1<=y<=16 , since the maximum value for a+f = 17 and the minimum value for a+f = 1 . It turns out that the only solution is when a+f=9 , in which case b+g=9 , c+h=9 etc .
Reply With Quote
  #10  
Old 11-04-2007, 03:53 AM
sirio11 sirio11 is offline
Senior Member
 
Join Date: Aug 2003
Location: I\'m mad as hell and I can\'t take it anymore ....
Posts: 3,516
Default Re: Russia National Contest Pr 1998-7

[ QUOTE ]
There are 10^5 solutions to the 5 equations .

[/ QUOTE ]

All digits are distinct, so there are way less than 10^5 solutions
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.