I'm a little unsure. Here goes though. You have:

and if the function is well-behaved, then:

Let then we have which is an ordinary DE in the variable n with v kept constant. Then:

Solving via integrating factor and noting that the constant of integration is now an arbitrary function of v, I obtain:

and so:

with arbitrary.

Now:

so that: