1、0、1、0、1、0、1、…… What is the general term formula of?

1、0、1、0、1、0、1、…… What is the general term formula of?




For Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89,... Find the ratio of two adjacent terms from sitting to right in turn; [e.g.: 1:1
=1,1:2 = 0.5,2:3 is about 0.66667,3:5 = 0.6], what do you find?


The adjacent two items are more and more close to the golden ratio, namely: 0.61803398874948420458683436564



Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233 Find the sum of the series whose output is less than 1000
If I use C #, I don't have to change it. Learning from me


public class Fibonacci {
\x05public static int abc(int number){
\x05
\x05\x05if(number