Does the unlawful public-offering provision itself state a prison term?
Never. Section 171 itself does not state a prison term. Section 171(b) says that a person who contravenes section 171(a) commits an offence under section 613(b) of the Maldives Penal Code, but the supplied Companies Act text does not reproduce that Penal Code provision or its punishment. No imprisonment consequence should be inferred or stated from section 171 alone.
Companies Act, Section 171