What Would You Call A Non-base 10 Decimal?

Let a k a_k represent the repeating decimal 0. 133 k 0.\overline{133}_k for k 4 k \geq 4 . The product a 4 a 5 a 99 a_4 a_5 \cdots a_{99} can be expressed as m n ! \frac{m}{n!} where m , n m, n are positive integers and n n is as small as possible. m n \frac{m}{n} can be expressed as p q \frac{p}{q} where p , q p, q are coprime integers. What is p + q p+q ?

Note: 0. 133 k 0.\overline{133}_k refers to the repeating decimal 0.133133133 0.133133133\ldots evalauted in base k k .


The answer is 530.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Michael Tong
Jan 16, 2014

Let us investigate k = 4 k = 4 . We find that the decimal is equal to 1 4 + 3 16 + 3 64 + 1 256 + 3 1024 + 3 4096 \frac{1}{4} + \frac{3}{16} + \frac{3}{64} + \frac{1}{256} + \frac{3}{1024} + \frac{3}{4096} . It may not be obvious at first, but this series is geometric. We can take advantage of the fact that the decimal is repeating to group terms. Indeed, by grouping each consecutive three terms, we find the sum 16 + 3 ( 4 ) + 3 64 + 16 + 3 ( 4 ) + 3 256 . . . \frac{16 + 3(4) + 3}{64} + \frac{16 + 3(4) + 3}{256}... . Using the geometric series formula with common ratio 1 4 \frac{1}{4} , we find 31 64 1 1 64 = 31 63 \frac{\frac{31}{64}}{1 - \frac{1}{64}} = \frac{31}{63} . What a handy closed form! We should be able to generalize this. Namely, a k = k 2 + 3 k + 3 k 3 1 a_k = \frac{k^2 + 3k + 3}{k^3 - 1} for k 4 k \geq 4 . Now, this is still quite difficult to evaluate, so let's try some more messing around.

We can factorize the denominator to get k 2 + 3 k + 3 ( k 1 ) ( k 2 + k + 1 ) \frac{k^2 + 3k + 3}{(k-1)(k^2 + k + 1)} . So if we investigate the 1 k 1 \frac{1}{k-1} part, when we take the product from 4 4 to 99 99 we will get 2 98 ! \frac{2}{98!} . So let's take out that part to simplify our expression.

We are left to evaluate 2 98 ! k = 4 99 k 2 + 3 k + 3 k 2 + k + 1 \frac{2}{98!} \displaystyle \prod_{k = 4}^{99} \frac{k^2 + 3k + 3}{k^2 + k + 1} . Using the principle of hopeful elegance (a useful tool which says that you should always be actively looking for elegant ways to solve problems, "hoping" that one will show up as it often does) or through some very solid algebraic intuition, this product telescopes. Namely, in the product k 2 + 3 k + 3 k 2 + k + 1 × ( k + 1 ) 3 + 3 ( k + 1 ) + 3 ( k + 1 ) 2 + ( k + 1 ) + 1 × ( k + 2 ) 2 + 3 ( k + 2 ) + 3 ( k + 2 ) 2 + ( k + 2 ) + 1 \frac{k^2 + 3k + 3}{k^2 + k + 1} \times \frac{(k+1)^3 + 3(k+1) + 3}{(k+1)^2 + (k + 1) + 1} \times \frac{(k+2)^2 + 3(k+2) + 3}{(k+2)^2 + (k+2) + 1} \cdots , the numerator of the previous term cancels out with the denominator of the next term (since ( n + 1 ) 2 + ( n + 1 ) + 1 = n 2 + 2 n + 1 + n + 1 + 1 = n 2 + 3 n + 3 (n+1)^2 + (n+1) + 1 = n^2 + 2n + 1 + n + 1 + 1 = n^2 + 3n + 3 )

Thus, if we take this product from k = 4 k = 4 to 99 99 , we will be left with the denominator of k = 4 k=4 and the numerator of k = 99 k = 99 . So our product comes out to 2 98 ! × 9 9 2 + 3 99 + 3 4 2 + 3 4 + 3 = 962 98 ! \frac{2}{98!} \times \frac{99^2 + 3*99 + 3}{4^2 + 3*4 + 3} = \frac{962}{98!} .

Finally, for our answer, 962 98 = 481 49 \frac{962}{98} = \frac{481}{49} , so p + q = 530 p+q = 530 .

Better write the fraction as 1 k ( k + 1 ) 3 1 k 3 1 \frac{1}{k} \frac{(k+1)^3-1}{k^3-1} . Factoring out the first 1 k \frac{1}{k} part, the telescoping product part is now apparent without any algebraic manipulation.

Abhishek Sinha - 7 years, 4 months ago

Typo on the fifth line: The fraction should be over 4096 4096 , and the common ratio is therefore 1 64 \frac{1}{64} .

Another small typo on the large expression near the bottom: In the second term, the ( k + 1 ) (k+1) is to the third power, but it should be only squared.

Michael Tong - 7 years, 4 months ago

Isn't that first series just 1/5?

Ryan Matthew - 3 years, 4 months ago
Chandler West
Jan 19, 2014

We can write the repeating decimal 0.133.. . ( k ) 0.133..._{(k)} as an infinite series:

0.133.. . ( k ) = i = 1 1 k 3 i + 1 + 3 k 3 i + 2 + 3 k 3 i + 3 = ( 3 + 3 k + k 2 ) 1 k 3 ( 10 ) 0.133..._{(k)} = \sum_{i=1}^\infty \frac{1}{k^{3i+1}} + \frac{3}{k^{3i+2}} + \frac{3}{k^{3i+3}} = \frac{-(3 + 3*k + k^2)}{1 - k^3}_{(10)}

k = 4 q ( 3 + 3 k + k 2 ) 1 k 3 = 2 ( q 2 + 3 q + 3 ) 21 ( q 1 ) ! \prod_{k=4}^{q} \frac{-(3 + 3*k + k^2)}{1 - k^3} = \frac{2(q^2 + 3q + 3)}{21(q-1)!}

Plugging in q = 99 q = 99 , we get a result of

962 98 ! = m n ! \frac{962}{98!} = \frac{m}{n!}

therefore p = 481 p = 481 , q = 49 q = 49 , p + q = 530 p + q = 530

what will be the number a4,a5,a6..... ?

Sriram K - 7 years, 4 months ago

but if 0.133133... is base k, then it's not decimal. It is k-al (octal, hexadecimal, tetral or whatever...)

Big Chiroptera - 2 years, 3 months ago
Carsten Meyer
Sep 8, 2019

Lets find a general expression for a k , k 4 a_k,\: k\geq 4 . Remember that in base k k , a shift by one digit to the right equals a multiplication by k 1 k^{-1} : a k = ( 0. 1 3 3 ) k = ( 1 k 1 + 3 k 2 + 3 k 3 ) i = 0 ( k 3 ) i Geom. Series, k 3 1 4 3 < 1 = k 1 + 3 k 2 + 3 k 3 1 k 3 k 4 k 4 = k 3 + 3 k 2 + 3 k ± 1 k ( k 3 1 ) ( k + 1 ) 3 = k 3 + 3 k 2 + 3 k + 1 = 1 k ( k + 1 ) 3 1 k 3 1 \begin{aligned} a_k&=\left(0.\overline{\red{1}\green{3}\blue{3}}\right)_k=\left(\red{1}\cdot k^{-1}+\green{3}\cdot k^{-2}+\blue{3}\cdot k^{-3}\right)\cdot\sum_{i=0}^\infty (k^{-3})^i&&\left|\text{Geom. Series,}\right.\quad\left|k^{-3}\right|\leq \frac{1}{4^3}<1\\ &=\frac{ k^{-1}+3k^{-2}+3k^{-3} }{1-k^{-3}}\cdot\frac{k^4}{k^4}=\frac{ k^3+3k^2+3k\pm 1 }{ k(k^3-1) }&&\left|(k+1)^3=k^3+3k^2+3k+1\right.\\ &=\frac{1}{k}\cdot\frac{(k+1)^3-1}{k^3-1}\\ \end{aligned}

Put all that hard work to use simplifying the product. Notice the second factor is a telescopic product: k = 4 99 a k = ( k = 4 99 1 k ) k = 4 99 ( k + 1 ) 3 1 k 3 1 = 3 ! 99 ! 10 0 3 1 4 3 1 = 6 2 99 21 481 99 98 ! 63 = 962 98 ! = : m n ! \begin{aligned} \prod_{k=4}^{99}a_k&=\left( \prod_{k=4}^{99}\frac{1}{k} \right)\cdot\prod_{k=4}^{99}\frac{(k+1)^3-1}{k^3-1}=\frac{3!}{99!}\cdot\frac{100^3-1}{4^3-1}=\frac{ \cancel{6}^2\cdot \cancel{99}\cdot\cancel{21}\cdot 481 }{ \cancel{99}\cdot 98!\cdot \cancel{63} }=\frac{962}{98!}=:\frac{m}{n!} \end{aligned}

As 962 m o d 98 = 80 0 962\mod 98=80\neq0 , we can not further reduce the factorial:

m n = 962 98 = 481 49 = p q p + q = 530 \begin{aligned} \frac{m}{n}&=\frac{962}{98}=\frac{481}{49}=\frac{p}{q}&\Rightarrow&&p+q&=\boxed{530} \end{aligned}

Our a k a_{k} is defined as k 1 + 3 k 2 + 3 k 3 + k 4 + . . . k^{-1} + 3*k^{-2} + 3*k^{-3} + k^{-4} + ...

We can reorder the terms of the sum into \((k^{-1} + k^{-4} + k^{-7} + ...) + 3*(k^{-2} + k^{-5} + k^{-8} + ... ) + 3*(k^{-3} + k^{-6} + k^{-9} + ...)

= (1/k)/(1 - 1/k^{3}) + 3*(1/k^{2})/(1 - 1/k^{3}) + 3*(1/k^{3})/(1 - 1/k^{3})

= k^{2}/(k^{3} - 1) + 3{k}/(k^{3} - 1) + 3/(k^{3} - 1) = \frac{k^2 + 3k + 3}{k^3 - 1}\)

Note that a k + 1 = ( k 2 + 2 k + 1 + 3 k + 3 + 3 ) / ( k 3 + 3 k 2 + 3 k + 1 1 ) a_{k + 1} = (k^2 + 2k + 1 + 3k + 3 + 3)/(k^3 + 3k^2 + 3k + 1 - 1)

a k + 1 = ( k 2 + 5 k + 7 ) / ( k 3 + 3 k 2 + 3 k ) = ( 1 / k ) ( k 2 + 5 k + 7 ) / ( k 2 + 3 k + 3 ) a_{k+1} = (k^2 + 5k + 7)/(k^3 + 3k^2 + 3k) = (1/k)*(k^2 + 5k + 7)/(k^2 + 3k + 3)

Thus, when calculating the product a k a k + 1 a_{k}*a_{k+1} and applying it from 4 to 99, the only things that will remain in the product are the first denominator and the last numerator divided by the product of the numbers

= [ ( 9 9 2 + 3 99 + 3 ) ( 1 / 63 ) ] / ( 4 5 6 . . . 98 ) = [(99^2 + 3*99+ 3)*(1/63)]/(4*5*6*...*98)

= [ ( 10000 200 + 1 + 300 3 + 3 ) / 63 ] 6 / 98 ! = [ 60606 / 63 ] / 98 ! = 962 / 98 ! = [(10000 - 200 + 1 + 300 - 3 + 3)/63]*6/98! = [60606/63]/98! = 962/98!

Then, m / n = 962 / 98 = 481 / 49 m/n = 962/98 = 481/49 , thus p = 481 , q = 49 , p + q = 530 p = 481, q = 49, p + q = \boxed{530}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...