finding diamond riches formula aofd