Solution of Differential Equations by Recurrence Relations