Magic ultramagnetized nuclei in explosive nucleosynthesis