When sum of remainders becomes divisible

  • Thread starter Thread starter Square1
  • Start date Start date
  • Tags Tags
    Sum
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.
 
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...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top