Eigenfriquencies of quasiperiodic layered structures