II.11 Arrangement of numbers based on rules

In accordance with the following rule, a number is lined up from the left to the right in order in a row.

<Rule>
① Both the 1st number and the 2nd number from the left is 1.

②From the third number, it is the sum of previous two numbers.

However, when the sum is 3, it turned to 0 to be written and when the sum is 4, it turned to be 1 to be written 4.

The figure shows that numbers are written in order until the 5th number.

Answer the following questions.

(1) Write down additional 10 numbers in order following 1, 1, 2, 0, 2.

(2) How many times is 2 written by the 500th number from the 1st?

(3) Find the sum of numbers from the 1st number to the 500th.











Answer
(1) 2, 1, 0, 1, 1, 2, 0, 2, 2, 1
(2) 187 times
(3) 562