Similar Items: Think like a mathematician