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:
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...

Similar threads

Back
Top