Series expansion in fractional calculus and fractional differential equations