#!perl -pl use bigrat;$v=$_;$_.=" + 1/".bceil{$;=1/1/$v},$v-=1/$;while$v;s;\+;=