http://www.perlmonks.org?node_id=637923


in reply to Re: Recurring Cycle of Fractions
in thread Recurring Cycle of Fractions

You're missing oh so much... Try your attempt with 17 and 19...

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e