void fib(int **fib_sequence, int count) {

    *fib_sequence = malloc(5 * sizeof(int));

    //set the first value (n always >=1)
    *fib_sequence[0] = 0;

    //set the second value if count is >=2
    if (count >= 2) {
        *fib_sequence[1] = 1;
    }
    

    //loop on the remaining elements needed.
    for(int i = 2;i < count; i++){

        *fib_sequence[i] = *fib_sequence[i-1]+*fib_sequence[i-2];

    }

}
Set fib_sequence to refer to an array of the Fibonacci sequence.