n &isin N, so we are dealing with integers.
This is a recurrence relation in which the nth term is defined as a function of the previous term, i.e. (n-1)th term.
Take the Fibonacci sequence, which is defined as
So to calculate f(7) using the above definition, you will need to calculate f(5) and f(4), which in turn will require you to calculate f(3) and f(2)...
Most recurrence relations have a closed form with which we can calculate the nth term without knowing the previous terms. However, without the knowledge of the closed form, in order to calculate the nth term, we need to calculate all the previous terms, namely 0th, 1st, 2nd, 3rd, ... (n-2)th, (n-1)th etc.
In this particular problem, you can only calculate up to n=7 where an is defined.
Given a(n)=n*a(n-1), and given a(1)=1.