Add helper func to gen farey series