If any of the heirs or devisees reside out of this state, such heirs or devisees may be brought into court by publication, once a week for three successive weeks, in a newspaper published in the county in which the application is made, or if none is published therein, then in the newspaper published nearest to the courthouse of such county.