Let N = 7 6 0 2 0 1 4 . What is the sum of the first 2014 digits before the decimal point of N ?
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.
Why does the sum of the first 2014 digits before the decimal point of 60^2014/7 equal the sum of the first 2014 digits after the decimal point of 6^2014/7?
Log in to reply
Dividing by 1 0 2 0 1 4 shifts the decimal point to the left by 2 0 1 4 digits.
Log in to reply
Wow. This is so clever.
That is very clever indeed
Well put, Patrick.
how to figure 60^2014=1mod7?
Log in to reply
Its 6 2 0 1 4 ( m o d 7 ) .
6 2 0 1 4 ≡ ( − 1 ) 2 0 1 4 ≡ 1 ( m o d 7 )
But if it is 7 6 0 2 0 1 3 instead of 7 6 0 2 0 1 4 , the answer given by Patrick Corn doesn't work. It works because 2 0 1 4 is even. By observing the first few powers of 6 0 we will know that.
The following shows n and ⌊ 7 6 0 n ⌋ (or the integer part). It can be seen that when n is odd, the n digits before the decimal point starts with 8 5 7 1 4 2 and when n is even then, 1 4 2 8 5 7 .
n ⌊ 7 6 0 n ⌋
1 8
2 5 1 4
3 3 0 8 5 7
4 1 8 5 1 4 2 8
5 1 1 1 0 8 5 7 1 4
6 6 6 6 5 1 4 2 8 5 7
7 3 9 9 9 0 8 5 7 1 4 2 8
8 2 3 9 9 4 5 1 4 2 8 5 7 1 4
9 1 4 3 9 6 7 0 8 5 7 1 4 2 8 5 7
1 0 8 6 3 8 0 2 5 1 4 2 8 5 7 1 4 2 8
Since 2 0 1 4 is even, the 2 0 1 4 digits before the decimal point starts with 1 4 2 8 5 7 repeats for 3 3 5 ( 3 3 5 × 6 = 2 0 1 0 times and with a remainder of 4 .
Therefore, the sum of the 2 0 1 4 digits before the decimal point:
S = 3 3 5 × ( 1 + 4 + 2 + 8 + 5 + 7 ) + ( 1 + 4 + 2 + 8 ) = 9 0 6 0
No, it works. I show below that 1 0 0 0 0 0 0 , 2 0 0 0 0 0 0 , 3 0 0 0 0 0 0 . . . 9 0 0 0 0 0 0 ÷ 7 . Check the digits before and after the decimal place. They repeat starting from the first ′ 0 ′ in the nominator ( 1 0 5 in my example.
1000000 /7 = 142857.142857
2000000 /7 = 285714.285714
3000000 /7 = 428571.428571
4000000 /7 = 571428.571429
5000000 /7 = 714285.714286
6000000 /7 = 857142.857143
7000000 /7 = 1000000.0
8000000 /7 = 1142857.14286
9000000 /7 = 1285714.28571.
But this isnt the case: 6 0 2 0 1 3 ≡ 1 m o d ( 7 ) . Maybe thats why Patrick Corn's method doesnt work?
Sure, this is because the powers of 6 mod 7 alternate between 6 and 1 depending on whether the exponent is even or odd. If the exponent is odd then we should be looking at the fraction 7 6 instead of 7 1 in my solution.
Problem Loading...
Note Loading...
Set Loading...
This is the same as the sum of the first 2 0 1 4 digits after the decimal point in 7 6 2 0 1 4 . Since 6 2 0 1 4 ≡ 1 mod 7 , this is the same as the sum of the first 2 0 1 4 digits after the decimal point in 7 1 = 0 . 1 4 2 8 5 7 .
This is 3 3 5 ( 1 + 4 + 2 + 8 + 5 + 7 ) + 1 + 4 + 2 + 8 = 9 0 6 0 .