The repurchase price should be greater than the original sale price, the difference effectively representing interest, sometimes called the "repo rate".
These methods are used to manage assumptions of cost flows related to inventory, stock repurchases (if purchased at different prices), and various other accounting purposes.