int[] fib(int n) { int[] F = alloc_array(int, n); F[0] = 0; F[1] = 1; for (int i = 0; i < n; i++) { F[i+2] = F[i+1] + F[i]; } return F; }