Notice of an election to be held under this chapter shall be given by the executive officer of the city by publication in the official newspaper of the city as provided in section 40-01-09 for at least twenty days.