My textbook defines a recurrence relation as a sequence whose nth term can be expressed as a function of the previous terms in the sequence.
Would it be incorrect to say that $a_n = 5$ is a recurrence relation? I could pose the argument that it is a function of the last in element, in the sense that the function is just $f(n) = 5$. If it is a recurrence relation, is it valid to call it a zeroth order recurrence relation?
To stay with your example:
$a_n = 5\; (n \in \mathbb{N)}$ is not a recurrence relation but an explicit formula defining a polynomial sequence of order 0, because the defining expression for the sequence is a polynomial of degree 0.
But it can also be written as a recurrence relation:
$a_n = a_{n-1}, a_1 = 5$.