SÃ # o Carlos is a Brazilian city in the state of SÃ # o Paulo .
SÃ # o Carlos is located in the geographic center of the state of SÃ # o Paulo , approximately 231 km ( 143 miles ) from the City of SÃ # o Paulo .