1+1-1+1-2+3-5+5-2+6-3+9+1-2+5-8+4+9-5+2+3-4+123-25+63+25-42+42-12+59-1+1008=?
one thousand two hundred and forty
Find 1 + 11 + 111 + +111…… The general formula of 1
1+11+111+1111+111...1
=1+(10+1)+(10^2+10+1)+(10^3+10^2+1)+...+[10^n+10^(n-1)+...1]
=1×n+10(n-1)+10^2(n-2)+...+10^n[n-(n-1)]
Let Sn = 1 × n + 10 (n-1) + 10 ^ 2 (n-2) +... + 10 ^ n (1)
10sn=10+10^2(n-1)+10^3(n-2)+...+10^(n+1)n(2)
∴(1)-(2):
-9Sn=n+[10+10^2+10^3+10^n]-10^(n+1)n
-9Sn=n-10^(n+1)+{10[1-10^n]/(1-10)}
={n-10^(n+1)}-{10[1-10^n]/9}
∴Sn={-{n-10^(n+1)}/9}-{10[1-10^n]/81}
=10^(n+1)/9-(n/9)-{10[1-10^n]/81}
1-111 = 11 move a match to make the formula true
1-1+1=1
RELATED INFORMATIONS
- 1. The formula is 1 × 1 + 11 × 11 + 111 × 111 + 111… 111×111… The last three digits of the result of 111 (2010 1) are
- 2. (-123)×(-4)+125×(-5)-127×(-4)-5×75= It must be right, please
- 3. Key mathematical problems 123 1. Xiao Ming is making a model of the earth with a diameter of D meters: (1) how long does it take for him to surround the equator with a wire? (2) how long does it take to surround the equator if he wants to increase the radius of the model by M meters? (3) how long does it take to estimate a circle of wire for the equator of the earth? If he wants to increase the radius of the circle of wire by M meters So how long wire need to be added (the radius of the earth is about 6370km) (4) compare the results of (2) and (3), what do you find? Why?
- 4. Come quickly to solve the math problem The functional relationship between the selling price P yuan and time t of a store in the past 30 days is p = {T + 20 (0
- 5. (1)23-17-(-7)+(-16) (2)123×80%=x×(1+10%) (1)23-17-(-7)+(-16) (2)123×80%=x×(1+10%) (3) 1 - (1-0.5) △ 3 × [2 - (- 3) power]
- 6. For a 1500 meter long elevated road, one sixth of the total length was built in the first month, and one fourth of the total length was built in the second month. How many parts are left unfinished?
- 7. There is a plane that can fly in the air for up to four hours There is an aircraft that can fly in the air for up to 4 hours. Its speed when flying out and returning is 950km / h and 850km / h respectively. How many hours can this aircraft fly in the air at most? The question is how many kilometers
- 8. Through the hyperbola x ^ 2 / 4-y ^ 2 / 3 = 1, the left branch of the straight line intersection of the left focus F1 is at the Mn point, and F2 is its right focus, then the value of | MF2 | + | NF2 | - | Mn | is? I don't know where Mn = MF1 + NF1 comes from
- 9. How to find the law How to find the law
- 10. Balmer, a middle school teacher in Switzerland, collected spectral data from 95161225213632 We successfully found the law in, and got Balmer formula, and then opened the door to the mystery of spectrum. Please write the ninth number according to this law?
- 11. A two - digit prime number whose single digit is 3 greater than that of a ten - digit number
- 12. Can a nine digit number composed of 1, 2, 3, 4, 5, 6, 7, 8 and 9 be prime?
- 13. The five digits 01234 can be used to form a five digit number without repetition Ask for explanation
- 14. If 1 = 5,2 = 12,3 = 123,4 = 1234, then 5 =?
- 15. Python looks for all the integer multiples of another number in a range, and calculates how many multiples there are This is a problem. I really can't do it. I use Python 2.7. I want to use for loop 1) Create program count_ Multiple () which takes three non negative integers: base, start and stop, prints each integer multiple of base which occurs between start and stop (including start but not including stop) on a separate line, And returns the number of multiples found. If base = 3, there are two integer multiples between start = 9 and stop = 15, 9 and 12, but excluding 15. The east way to test while one number is an integer multiple of another is with the% operator \x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05 \x05\x05\x05\x05 \x05\x05\x05 \x05\x05 \x05\x05\x05 \x05\x05\x05\x05 \x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05\x05 2).Write a function user_ input_ multiples() which takes a single integer input base.This function will get start and stop values from the user with two calls to raw_ input(),call count_ multiples() to determine the number of integer multiples of base between the user specified start and stop,and then ask again for new start and stop values.The function will continue asking for new start and stop values until at least one of the following cases occurs: \x05\x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05\x05\x05\x05 The user enters a negative value for start or stop. \x05\x05\x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05\x05\x05\x05 The user enters a value for stop which is less than the value for start. \x05\x05\x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05\x05\x05 \x05\x05\x05\x05\x05\x05\x05\x05\x05 The function count_ multiples() returns zero (eg:there were no multiples between start and stop). Once the function stops asking for input,it will return the total number of multiples found (the total over all calls to count_ multiples()). Hint:You will want to use a while loop for this function. English is a little too much. I'm a little annoyed. Please forgive me If you don't have time, give me a detailed idea or direction
- 16. How many multiples of 3 are there from 3 to 123?
- 17. How many arrangements are there? 123 321 213 231 312 any more?
- 18. To know that the greatest common factor of two numbers is 21 and the least common multiple is 123, how much is the sum of the two numbers? Wrong. The least common multiple is 126
- 19. What is the great common factor of 5 and 7
- 20. Is the greatest common divisor the greatest common divisor?