************************************************************************/ #include <stdio.h> int main () { int a, b, c, i; a = 1; b = 1; for (i = 1; i <= 20 ;i ++) { printf (" %d", a); c = a + b; a = b; b = c; } printf ("\n"); return 0; }
Well, the Fibanocci expansion is very, very similar to the Fibonacci series :)
at least in its first 8 terms...