Investigation of classical and fractional Bose–Einstein condensation for harmonic potential