sum UnitStep[x] - UnitStep[x-6], x=-infinity..infinity]