Quantum scattering in one-dimensional periodic structures: A Green's function approach solved through continued fractions | Synapse