This bothered me a lot as well as a student. To make the point done here it is unfortunately required to involve the notion of eigenvalues and eigenfunctions, but only in a relatively elementary way.
To see where the out-of-the blue "ansatz" $\lambda^n$ comes from, let's introduce a shift operator S defined as:
$$ S(a_n)=a_{n+1} $$
If we look at:
$$a_n=i a_{n-1}+j a_{n-2}$$
we can, for convenience, rewrite this as:
$$a_{n+2}=i a_{n+1}+j a_n$$
Let's now use the shift operator to express this (in a bit clunky way) as:
$$S(S(a_{n}))=i S(a_n)+j a_n$$
Now, the recurrence relationship is linear and homogeneous (no constant term) so it is fair to assume that a term in the sequence is just a constant times the previous term:
$$ S(a_{n})=\alpha a_{n} $$
Using this, we get
$$\alpha^2 a_n=i \alpha a_n +j a_n$$
which is very useful since we can divide by $a_n$ (assuming the terms are not all zero) and solve for $\alpha$.
So, this will give us the value of $\alpha$ but we still don't know what $a_{n}$ is.
We can now ask ourselves in more general terms which very special expression $\alpha$ is such that:
$$ S(a_{n})=\alpha a_{n} $$
It turns out (by trial and error) that sequences of the type $a_n=\lambda^n$, or, more generally, $a_n=c\lambda^n$, will answer this question.
To see why, start with the equation:
$$ S(a_{n})=\alpha a_{n} $$
No, by inserting $a_n=\lambda^n$ we get:
$$ S(a_{n})=a_{n+1}=\lambda^{n+1} $$
However, at the same time, assuming $a_n=\lambda^n$, we also have that:
$$ \alpha a_n=\alpha \lambda^n $$
We now would like these two relationships to be equal for all $n$, which means that we must have:
$$ \lambda^{n+1}=\alpha \lambda^n $$
Assuming $ \lambda \neq 0 $, we can divide both sides by $\lambda^n $ and get:
$$ \lambda=\alpha $$
To sum all up, by introducing the shift operator:
$$ S(a_n)=a_{n+1} $$
and the homogeneous linear relationship:
$$ S(a_{n})=\alpha a_{n} $$
we have concluded that $a_{n}=\lambda^n$ are the eigenfunctions of the shift operator and that $ \lambda$ is the eigevalue of the shift operator.
The fact that these are the eigenfunctions and eigenvalue of the shift operator makes the introduction of $\lambda^n$ seem completely out of the blue. This is kind of typical and, as shown in some of the other posted answers, also is characteristic of the continuous case of differential equations and their eigenvalues and eigenfunctions. You can say that $\lambda^n$ plays the same role for linear recurrent relations as $cos(2\pi n x)$, $sin(2\pi n x)$, and $e^{i 2 \pi n x}$ play for linear differential equations.
Note: In general you have that the solution looks like $a_n=c_1\lambda_1^n+c_2\lambda_2^n$ since there are two roots for the equation in $\alpha$ above. Furthermore, in the case that $=\alpha$ is a double root we instead get that the eigenfunctions are $a_n=(c_1+c_2 n )\lambda^n$.