When sum of remainders becomes divisible

  • Thread starter Thread starter Square1
  • Start date Start date
  • Tags Tags
    Sum
AI Thread Summary
The discussion revolves around the concept of accumulating remainders from purchases to eventually afford an object, highlighting the use of modular arithmetic to analyze this scenario. The key equation derived is k[p mod c] >= c, where k represents the number of times remainders are accumulated. The conversation touches on the relevance of Diophantine equations and linear programming in solving the problem, emphasizing the importance of treating monetary values as natural numbers for accurate calculations. Additionally, the significance of the initial payment amount and its relation to salary is noted as a factor that could influence the outcome. Overall, the thread provides a foundation for further exploration of mathematical and financial concepts related to remainder accumulation.
Square1
Messages
143
Reaction score
1
Hi. I need to sort out some concepts and terminology. I was wondering if there are algorithms and terminology surrounding the following situation.

Lets say I want to buy some object for an amount of money, but the object cost less than the amount of money I have. I will have a remainder of money. Let's say that this purchase on it's own is inefficient, but, once I make more money, keep coming back and buying the same object, eventually I will be able to buy a final object at just with the accumulated remainders of money. I simply delayed making an efficient use of my money till later.

I know that I need just solve for 'x' to find out how many purchases it takes to use the saved up money in:

x*remainder = object price

Then I can also find out how much non-remainder money I had to burn to begin with in order to get the "freebie".


Sooooo, my question is if anyone knows some terminology that explains this scenario or can name concepts in science or finance ...etc. that they see this analysis being used. I simply like putting words onto my math :)

Thank you.
 
Mathematics news on Phys.org
You didn't say whether or not you keep buying the object with the same amount (if you don't, the remainder will be different, so this needs clarification). I will assume you keep buying the object with the same payment for the sake of providing some sort of answer.

If c is the object cost, and p is your payment, then the remainder of this transaction can be expressed as: p mod c

So then, we want to know the number of times we need to accumulate remainders to pay for the object with collected remainders. Let this number be k.

Then,
k[p mod c] >= c

You used an equals sign, but note that k is a natural number. So, if you could pay for the item exactly from remainders, then c / [p mod c] has to be a natural number. That won't always be possible.

So basically, what I think the name / topic you are looking for is Modular Arithmetic
 
  • Like
Likes 1 person
A couple of things.

1. Is the initial value the same as the person's salary? This will change the equations noted in the previous posts.

2. I claim there always is a solution. This depends on the treatment of p as a natural number. Certainly, $1.99 doesn't look like a natural number because of the decimal. But if you convert to cents it is just 199.

There are various strategies. In terms of number theory this can be solved as a simple Diophantine equation. The basis of this is modular arithmetic.

Another strategy is called linear programming. This would involve recursive equations.

I think this problem would be different depending on whether you are approaching it from a pure math background or a financial. If financial, I think there is a question about whether a remainder of a penny or a few cents is significant.
 
  • Like
Likes 1 person
Thanks guys. It seems my question may have been a bit vague, but I DID get a good starting point in the replies for more investigation. Thanks all.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top