Algo for forecasting for p=odd -Fuyao