DSolve[-f[D[y[x], {x, -1 + n}]] + Derivative[n][y][x] == 0,y[x],x]