If the following infinite series S is evaluated as a decimal,what is the 37th digit to the right of the decimal place?
S = 9 1 + 9 9 1 + 9 9 9 1 + … + 1 0 n − 1 1 + …
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.
Nice. If the question did have a carry-over, that would have been more interesting.
Log in to reply
Hi Calvin! Are you guys planning on making trignometry a seperate topic? It would be helpful.
I guess the title is a bit of a misnomer..
Why does this question have a rating, but this one doesn't have one?
Log in to reply
@Thaddeus didn't set a level for this, and as such this problem is unrated for a much longer period.
Log in to reply
unless the n+1th digit has more than 9 factors, or the n +ith digit has more than 10^i factors for any i. So, for example, though 359 is prime, the 359th decimal place is not 2 but 4 because 360 has 24 factors
My method was a little different:in 1/9 every digit is 1 and as 37 is a prime while adding the number 1 will occur once in 1/9 and second when 1 is divided by 37 nines.thus we get 2 simple
Which diriclet theorem did you refer in this solution?
Log in to reply
My bad,I mixed it up with another problem.Dirichlet theorem on arithmetic progressions has nothing to do with this
brilliant, absolutely brilliant
Why is it true? “The 1’s in column k occur in the r th row only if r is a divisor of k “ Please explain.
S= 9^-1 + 99^-1....
S/11= 99^-11+999^-1........
S-S/10=9^-1
then S=11/90 = 1.222222......
As pointed out in the comments, this solution is incorrect. Can you spot the mistake?
Note that you do not have a geometric progression. Your answer is invalid.
totally unreadable. at least use different lines
99 * 11 = 1089
Your error is as sarthak said below- actually the decimal value of S if you begin adding them starts looking like: s=.01223242435262445
I CAN'T do this
This is to hard
First rewrite the series into a more accessible form: S = k = 1 ∑ ∞ 1 0 k − 1 1 = k = 1 ∑ ∞ 1 − 1 0 − k 1 0 − k = k = 1 ∑ ∞ l = 1 ∑ ∞ ( 1 0 − k ) l = k = 1 ∑ ∞ l = 1 ∑ ∞ 1 0 − k l ∣ ∣ ∣ ∣ geometric series, ∣ 1 0 − k ∣ ≤ 1 0 1 < 1
The series converges absolutely for all k , l ≥ 1 - we may reorder the series by the exponent k l = ! d ∈ N : S = k = 1 ∑ ∞ l = 1 ∑ ∞ 1 0 − k l = d = 1 ∑ ∞ ( k , l ) ∈ Ω d ∑ 1 0 − n k ∣ ∣ Ω d : = { ( k , l ) ∈ N 2 ∣ n k = d }
Notice that the inner sum is constant because the exponent equals d ? In other words, the inner sum counts how many pairs exist such that k l = d - that is the number of positive factors of d : S = d = 1 ∑ ∞ c d 1 0 − d , c d = ∣ Ω d ∣ = "number of positive factors of d " ≤ 2 d − 1
How many positive factors can d = k l have? If it is not a perfect square, one factor has to be smaller than d and the other has to be greater than d - in total we have at most 2 ( d − 1 ) factors. If d is a perfect square, we have one more factor d !
Let's find the 3 7 t h digit of S ! We may be tempted to say "that's c 3 7 , easy", but that might not be right: The coefficients c d are not digits and can be greater than 10. In other words, later coefficients might influence the 3 7 t h digit as well! To make sure we get a correct estimate for the digit, we need to know how many terms we need to consider or how fast the series converges: ∣ c d 1 0 − d ∣ ⇒ ∣ c d 1 0 − d ∣ < 2 d ⋅ 1 0 − d = : a d , < a d ≤ a N q d − N , a d a d + 1 d = 2 d ⋅ 1 0 − d 2 d + 1 ⋅ 1 0 − ( d + 1 ) = 1 + d 1 ⋅ 1 0 1 ≤ 1 0 2 = : q < 1 ≥ N ( ∗ )
Let's find out which digits the later coefficients of the series can influence: d = N ∑ ∞ ∣ c d 1 0 − d ∣ ⇒ d = 3 9 ∑ ∞ ∣ c d 1 0 − d ∣ ( ∗ ) < d = N ∑ ∞ a N q d − N = a N d = 0 ∑ ∞ q d ∣ q ∣ < 1 = 1 − q a N = 1 − 0 . 1 2 2 ⋅ N ⋅ 1 0 − N ≤ 2 . 4 ⋅ N ⋅ 1 0 − N ≤ 2 . 4 ⋅ 3 9 ⋅ 1 0 − 3 9 < 1 . 5 ⋅ 1 0 − 3 8
We only need to consider two coefficients - c 3 7 = 2 and c 3 8 = 4 . Any following coefficients can at most flip the 3 8 t h digit to 5 and can be ignored - the 3 7 t h digit of S is indeed 2 !
Rem.: For a challenge with overflow, prove that the 4 7 t h digit of S is 3 = c 4 7 !
37 can be divided by 1 and 37 so the first 1/9 and the eventual 1/10^37-1 will add a 1 in the 37th digit giving it a 2.
Here you can easily notice:
0.1111111111 1111111111 1111111111 1111111
0.0101010101 0101010101 0101010101 0101010
0.0010010010 0100100100 1001001001 0010010
0.0001000100 0100010001 0001000100 0100010
0.0000100001 0000100001 0000100001 0000100
0.0000010000 0100000100 0001000001 0000010
0.0000001000 0001000000 1000000100 0000100
0.0000000100 0000010000 0001000000 0100000
0.0000000010 0000000100 0000001000 0000010
0.0000000001 0000000001 0000000001 0000000
0.0000000000 1000000000 0100000000 0010000
0.0000000000 0100000000 0001000000 0000010
0.0000000000 0010000000 0000010000 0000000
0.0000000000 0001000000 0000000100 0000000
0.0000000000 0000100000 0000000001 0000000
0.0000000000 0000010000 0000000000 0100000
0.0000000000 0000001000 0000000000 0001000
0.0000000000 0000000100 0000000000 0000010
0.0000000000 0000000010 0000000000 0000000
0.0000000000 0000000001 0000000000 0000000
0.0000000000 0000000000 1000000000 0000000
0.0000000000 0000000000 0100000000 0000000
0.0000000000 0000000000 0010000000 0000000
0.0000000000 0000000000 0001000000 0000000
0.0000000000 0000000000 0000100000 0000000
0.0000000000 0000000000 0000010000 0000000
0.0000000000 0000000000 0000001000 0000000
0.0000000000 0000000000 0000000100 0000000
0.0000000000 0000000000 0000000010 0000000
0.0000000000 0000000000 0000000001 0000000
0.0000000000 0000000000 0000000000 1000000
0.0000000000 0000000000 0000000000 0100000
0.0000000000 0000000000 0000000000 0010000
0.0000000000 0000000000 0000000000 0001000
0.0000000000 0000000000 0000000000 0000100
0.0000000000 0000000000 0000000000 0000010
0.0000000000 0000000000 0000000000 0000001
Python
for i in range(1, 38):
print("0.", end="")
for k in range(1, 38):
if(k % i == 0):
print("1", end="")
else:
print("0", end="")
print("")
Using the following code on arbitrary precision calculator:
scale=42; s=0; for (i=9;i<10^42;i=i*10+9) {s+=1/i}; print s
We get: 0.122324243426244526264428344628264449 2 44828
Therefor, the digit is 2.
Problem Loading...
Note Loading...
Set Loading...
S = 9 1 + 9 9 1 + 9 9 9 1 + . . 1 0 n − 1 1 =
0 . 1 1 1 1 1 1 1 1 1 1 1 1 1 1 . . . +
0 . 0 1 0 1 0 1 0 1 0 1 0 1 0 1 . . . +
0 . 0 0 1 0 0 1 0 0 1 0 0 1 0 0 . . .
First,it is clear that the k t h column is composed only of 1 's and 0 's. The 1 's in column k occur in the r th row only if r is a divisor of k .Below the k t h row in column k there are only 0 's. Since 3 7 is a prime,its only divisors are 1 and 3 7 and so the only 1 's in column 3 7 occur in rows 1 and 3 7 . Thus we may be tempted to jump to the conclusion that the required digit is 2 .
However since sums are preformed from right to left we must consider the possibility of a carry over from the 3 8 th place.Since 3 8 has four divisors 1 , 2 , 1 9 and 3 8 there are four 1 's in column 3 8 . Of course,there is a chance that there is a carry over from the 3 9 t h place as well. However ,since the 3 8 th place holds only four 1 's,it would take a carry of at least 6 from the 3 9 th place. We can show that the carry from the 3 9 th place doesn't amount to 5 . Thus we conclude there is no carry over and that the answer is indeed 2 .