There is a fractional sequence of 2 / 1,3 / 2,5 / 3,8 / 5. To find the sum of the first 20 items of this sequence, VB programming is used,

There is a fractional sequence of 2 / 1,3 / 2,5 / 3,8 / 5. To find the sum of the first 20 items of this sequence, VB programming is used,


Private Sub Command1_ Click()Dim a As Long, b As Long, cDim i As Integer, sum As Singlea = 2b = 1For i = 1 To 20  sum = sum + a / b  Print i; a; "/"; b  c =  a  a = a + b  b = cNextPrintPrintPrint sumEnd Sub



For a column of numbers, the first three are 1, 9, and each of them is the remainder of the sum of the three adjacent numbers in front of it divided by 3. What is the number 1999 in this column?


(1999-3)÷13=153… 71999 is the seventh in the cycle section, which is 0. A: the number 1999 in this column is 0



Which three numbers add up to get the number equal to the multiplication of these three numbers (the three numbers are different)


a*b*c=a+b+c
a(b*c-1)=(b+c)
If B * C = 1, B + C = 0, a takes any number
If B * C is not equal to 1, a = (B + C) / (b * C-1) is OK
If B = 2, C = 4, then a = 6 / 7
Of course, there should be no marks in the second grade of primary school. If you want to have a positive integer solution, then
B + C 〉 = b * C-1, with (B-1) * (C-1)=



For a column of numbers, the first three numbers are 1, 9 and 9, and each number after that is the remainder of the sum of the three adjacent numbers in front of him divided by 4. What is the number 2009 in this column?


1
The first three are 1.9
2009-3 = 2006 subtract 1, 9, 9 first
The next one starts to cycle. Four cycles, divided by four, leave two



There are three numbers whose sum is equal to the product of multiplication. What are the three numbers


1,2,3



There is a 1994 digit, and the number of each digit is 8. How to find the remainder of this 1994 digit divided by 26?


888888/26=34188,1994=332*6+2,
The remainder of this 1994 digit divided by 26 is equal to the remainder of 88 divided by 26
88 / 26 = 3 more than 10
The remainder of this 1994 digit divided by 26 is 10



There are two identical numbers. Whether they are added or multiplied, they get the same number. This number is ()


There are two identical numbers. Whether they are added or multiplied, they get the same number. This number is 2 or 0



19941994… What is the remainder of (1994) divided by 15?


The remainder of a 1994 divided by 15 is 91994. If 1994 divided by 15, the remainder is 1994 × 9. Then divide 1994 × 9 by 15, the remainder is 9 × 9. Finally, divide 9 × 9 by 15, and the remainder is 6
This method is the most simple, I wish you a happy study!



1, 0 and any number add to get (). 2, 1 and any number multiply to get ()
This is the title in his exercise book


0 adds any number to get any number; 1 multiplies any number to get any number



The remainder of 2003 * 59 divided by 7


2003*59≡1*3≡3(mod 7)
Remember: a * B ≡ (remainder of a divided by n) * (remainder of B divided by n) (MOD n)