MHB Find "n" Given p=s and m=4,541,160 | Integer Solution

  • Thread starter Thread starter Wilmer
  • Start date Start date
  • Tags Tags
    Integers
AI Thread Summary
The discussion centers on finding the integer n given p as the product of two consecutive integers (n-1 and n) and s as the sum of m consecutive integers starting from (n+1). For m = 4,541,160, the equation derived is n^2 - (m+1)n - (m(m+1)/2) = 0, which can be solved using the quadratic formula. The positive root calculated is n = 6,203,341, while a negative solution of n = -1,662,180 is also valid under certain conditions. The example provided illustrates how these calculations work with smaller values of n and m. The thread emphasizes the arithmetic involved in solving for n using large integers.
Wilmer
Messages
303
Reaction score
0
p = product of 2 consecutive integers n-1 and n.
s = sum of m consecutive integers, the first being n+1.
s = p
Example (n = 12, m = 8):
p = 11 * 12 = 132
s = 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 = 132

If m = 4,541,160 then what's n ?
 
Mathematics news on Phys.org
Wilmer said:
p = product of 2 consecutive integers n-1 and n.
s = sum of m consecutive integers, the first being n+1.
s = p
Example (n = 12, m = 8):
p = 11 * 12 = 132
s = 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 = 132

If m = 4,541,160 then what's n ?

You have the problem: given \(m\) solve:

\( n \times m+ \frac{m(m+1)}{2}=n^2-n\)

or:

\( n^2 -(m+1)n-\frac{m(m+1)}{2}=0\)

and you want the positive root of this.

This does involve arithmetic with nice long integers by Dr Wolfram's Alpha can handle it

CB
 
Last edited:
Agree. n = [m + 1 +- SQRT(3m^2 + 4m + 1)] / 2

So n = 6,203,341 or -1,662,180

The negative solution is also valid; using m = 8, then n = -3:
-4 * -3 = 12
-2 + -1 + 0 + 1 + 2 + 3 + 4 + 5 = 12
 
Last edited:
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...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...

Similar threads

Back
Top