Find the number of values of \(n\) between \(1\) and \(100\) such that \(x^2+x-n=0\) has integer roots.
there's only 2?
not sure im still working on this haha! but my first guess would be more than 2
I mean only two for each n with consecutive factor pairs
so I would expect there to be 9 total
pairs
with non distinct values
x^2+x-2 = (x-1)(x+2) how did u get 9 pairs so fast ! xD
n and n+1, where 1<n<9?
well, they have to be consecutive to give us a positive 1 in the middle for the coefficient right? they cannot multiply to more than 100, so since 10*11 >100, we only need pairs less than 10
Brilliant !!!
(-1,2)=-2 (-2,3)=-6 (-3,4)=-12 yada yda till we hit, (-9,10)=-90
I should've used a diff variable, not n. But same thing.
so the limit on n makes our life easier
I was trying quadratic formula and making it hard
oh, lol. I was about to say, this is an easy one for your genius mind
\[x = \dfrac{-1\pm \sqrt{1+4n}}{2}\] \(1+4n = m^2\) etc..
Well they have to be integers, so that makes it easy
my start was wrong.. I see it is easy with pairs idea :)
yea, no forest for trees :)
I'm just excited because I actually answered a question you asked!
this is the fastest somebody ever helped me haha xD
lol
The question looks a lot more complex when Openstudy is being weird...
omg! that happened to me yesterday too... i think it is some latex related bug
... that problem would be insane,
just try it with 111 and 100,100,100 for your n.... we would have 12-> like somewhere between10,000 and 11,000 for our restraints... That's alot of pairs
I'm pretty sure @ganeshie8's sole reason for asking this question, was so that he would have equal numbers of fan testimonials as questions asked.
lol
lol that would be just a coincidence XD Fib the answer would be number of perfect squares between 111 and 100,100,100 right ?
(from quadratic formula)
no,
it would be the number of consecutive pairs within \(12\le x,y\le 10005\)
Ahh okay, i think it should be number of ODD perfect squares between `111` and `1+4*100,100,100`
that should be something like 10005-12=9993
by my method
YES! that kinda checks out with my method too number of perfect squares less than `1+4*100,100,100` would be `floor(sqrt(1+4*100,100,100))` = 20010 subtract perfect squares less than 111 and divide by 2
I don't know how to find all of those perfect squares though
ikr :) question is about the count, not the values of n :P
true haha, but we did if your method works, just find a way to determine how many perfect squares are between two numbers
number of perfect squares between \(a\) and \(b\) would be somewhere around \(\sqrt{b} - \sqrt{a}\) right ?
assuming \(a < b\)
uhm, that I do not know, shall we attempt that?
see if we get close to my and your answer
idk thats just a ballpark number....
mine should be exact
do we agree number of perfect squares not greater than \(n\) is \(\lfloor \sqrt{n}\rfloor \)
exampel : number of perfect squares not greater than \(256\) is \(\lfloor \sqrt{256}\rfloor = 16 \) : \[\{1^2,2^2,3^2,\ldots, 16^2\}\]
9994.46809437 Pretty dang close
I don't know the floor function
floor(2.9) = 2 floor(2) = 2 floor(1.9) = 1 floor(n) is the greatest integer less than or eqal to n
ohk, so where did you get that theorem about perfect squares from?
observation
hmmm, I think we may have just derived the phi function or something like that from number theory, but I'm tired, and thus, cannot be bothered to check if that is the case
thats okay but it has nothing to do with phi function
it's one of those number theory thingies i think
Join our real-time social learning platform and learn together with your friends!