decibel
- 107
- 1
is there a way to prove that n consecutive integers is always divisible by n!?
thanks in advance
thanks in advance
The discussion revolves around the question of whether n consecutive integers are always divisible by n factorial (n!). Participants explore various interpretations of the question, including the divisibility of sums of consecutive integers and the properties of consecutive integers in relation to modular arithmetic.
Participants express disagreement regarding the original question's interpretation and the implications of divisibility among consecutive integers. There is no consensus on the original question or its intended meaning, and multiple competing views remain throughout the discussion.
Participants express uncertainty about the implications of modular arithmetic and the conditions under which certain statements hold true. There are unresolved mathematical steps and assumptions regarding the properties of integers and divisibility.
Gokul43201 said:Just to make this complete (not to nitpick)
starting equations:
n mod y = 0
(n+1) mod y = 0
work:
((n mod y) + (1 mod y)) mod y = 0
(n mod y) + 1 = 0 {y <> +/- 1}
(n mod y) + 1 = n mod y
1 = (n mod y) - (n mod y)
1 = 0
conclusion:
FALSE
No two consecutive integers are divisible by the same factor (>1).
Gokul43201 said:Sorry 'bout that.
To answer your question : In general, NO.
It is true, however for +, - and *.
I'm not sure how your question applies to functions like sin(x), when you are asking about binary operators.
Gokul43201 said:To clarify, when I said 'binary operator', I meant an operator defined on 2 numbers (such as addition, subtraction, exponentiation, etc), not operators defined on the binary representation of numbers.
I'm pretty sure that rule doesn't work for AND, OR, XOR, etc...but I haven't verified this.
"If x op y = y op x then (x op y) mod z = ((x mod z) op (y mod z)) mod z"
In general, this is not necessarily true.