This used to be for programming, until I married math
#include <stdio.h> main() { int n, first = 0, second = 1, next, c; for ( c = 0; c < 20; c++) { if ( c <= 1 ) next = c; else { next = first + second; first = second; second = next; } printf("%d\n", next); } return 0; }