document.write( "Question 12200: Can you please help to answer the following question:
\n" ); document.write( ".
\n" ); document.write( " When a positive integer N is written in base 9, it is a two-digit number. When 6N is written in base 7, it is a three-digit number obtained from the two-digit number by writting digit 4 to its right. Find the decimal representationsof all such numbers N.
\n" ); document.write( "

Algebra.Com's Answer #6200 by khwang(438)\"\" \"About 
You can put this solution on YOUR website!
When a positive integer N is written in base 9, it is a two-digit number. When 6N is written in base 7, it is a three-digit number obtained from the two-digit number by writting digit 4 to its right. Find the decimal representationsof all such numbers N. [/quote]\r
\n" ); document.write( "\n" ); document.write( " Sol: By the given condtions, we have
\n" ); document.write( " There are integers 1 <= a < 7, 0 <= b < 7 such that
\n" ); document.write( " N = 9 a + b ... 1)
\n" ); document.write( "6N = 7^2 a + 7 b + 4 ...(2)\r
\n" ); document.write( "\n" ); document.write( "By (1)*6: we have 6 N = 54 a + 6 b = 7^2 a + 5 a + 6 b = 7^2 a + 7 b + 4.
\n" ); document.write( " We have 5 a = b + 4 ...(3) \r
\n" ); document.write( "\n" ); document.write( "Note, 1 <= a <= 6, 0 <= b <= 6 and 5 a = b + 4.\r
\n" ); document.write( "\n" ); document.write( " Value of a starting from 1 ,consider the table below:\r
\n" ); document.write( "\n" ); document.write( " a b(=5a-4) N = 9 a + b 6N (6N)base 7
\n" ); document.write( "--------------------------------------------
\n" ); document.write( " 1 1 10 60 114 (OK)
\n" ); document.write( " 2 6 24 144 264 (OK)
\n" ); document.write( " 3 15-4 >6 (invalid)
\n" ); document.write( " Similarly ,we see that b > 6 whenever 6>= a > 3,so no valid b if a > 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " Thus, we obtain the two possible solutions 10 or 24.\r
\n" ); document.write( "\n" ); document.write( " [Double check : N = 10 [base 9] = 11, 6N = 60 , since 60 = 7^2 + 7 + 4,
\n" ); document.write( " so 60[base 7] = 114.
\n" ); document.write( " N = 24 [base 9] = 26, 6N = 144 , since 144 = 2*7^2 + 6*7 + 4,
\n" ); document.write( " so 144[base 7] = 264. \r
\n" ); document.write( "\n" ); document.write( " This question may be not quite easy for you. Try to read carefully
\n" ); document.write( " about every step.\r
\n" ); document.write( "\n" ); document.write( " Kenny
\n" ); document.write( "
\n" ); document.write( "
\n" );