solved 73 using farey sequences
clean up