finding diamond riches formula gpcs