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

  • MHB
  • Thread starter Wilmer
  • Start date
  • Tags
    Integers
In summary, given a value of m = 4,541,160, the solutions for n in the equation n^2 -(m+1)n-(m(m+1)/2)=0 are n = 6,203,341 or n = -1,662,180. Both solutions are valid, with n = -3 being a specific example for m = 8.
  • #1
Wilmer
307
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
  • #2
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:
  • #3
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:

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

What is the value of "n" in the equation p=s and m=4,541,160?

The value of "n" in this equation would depend on the values of "p" and "s". Without knowing their specific values, it is impossible to determine the value of "n".

How do you find the integer solution for "n" in the equation p=s and m=4,541,160?

To find the integer solution for "n", you would need to know the exact values of "p" and "s". Once you have those values, you can plug them into the equation and solve for "n".

Can you provide an example of finding the integer solution for "n" using the equation p=s and m=4,541,160?

Sure, let's say p=10 and s=5. When we plug these values into the equation p=s and m=4,541,160, we get 10=5 and m=4,541,160. To solve for "n", we can rearrange the equation to n= m/5, which would give us a solution of n=908,232.

What is an integer solution and why is it important in this equation?

An integer solution is a whole number that satisfies the given equation. In this case, it is important because the equation p=s and m=4,541,160 is looking for a specific value of "n" that would make the equation true. So, finding the integer solution would give us the value of "n" that satisfies the equation.

Are there any limitations or restrictions when finding the integer solution for "n"?

Yes, there are some limitations or restrictions when finding the integer solution for "n". The values of "p" and "s" must be integers, and the value of "m" must be a multiple of 5. Additionally, the solution for "n" must also be an integer.

Similar threads

Replies
4
Views
2K
Replies
2
Views
2K
Replies
13
Views
3K
Replies
5
Views
2K
Replies
24
Views
2K
Back
Top