Forced oscillations for differential equations of arbitrary order