This one is probably a bit interesting: Suppose \(K\) be the number of integers n such that \( \frac{2^n+1}{n^2}\) is also an integer.Find \( K\).
2^(?)
write a python script!
\( \large \frac{2^n+1}{n^2} \)
for i in [1..infinity] if i 2^n+1/n**2 is an integer: k +=1
for n*
n must be odd
since 2^n + 1 is odd
no kidding guys, python isn't an option.
\[2^n + 1 = (2+1)(2^{n-1}-2^{n-2}...-2+1)\]
Please note this seems to be a hard problem, I only have the the answer, but no concrete proof (yet) or solution.
So it is finite?
I /knew/ it had to be hard as you didn't start it off as "An easy one..." - which are usually quite hard when you set them :-)
lol, yes it is finite of-course.
is it the fibonacci sequence?
asnaseer, you seem be stalking me :D haha
@agdg that would be infinite
:) - you set interesting and challenging questions - thats why
OK - I'm off to work on this one and, as Arnie would say, I'll be back!
does the answer have anything to do with the fibonacci sequence?
@asnaseer: I told about those 150 right? well the number just moved to 200 so things will get much interesting in the next few weeks ;)
FFM - can you please clarify the question - you say K is the NUMBER of integers n such that... did you mean K represents a set of integers n such that? i.e. is K the count of integers or the set of integers satisfying the condition?
I think the answer is 2 but have no idea how to prove it, that makes it just a guess
(2^2+1)/2^2 = 5/4 which is not an integer
K is the number of n that satisfies the given condition.
1and 3 does
n =1 and n = 3 works
yes why others won't work ?
I found 2 !
the answer is K = 2
but you must show why all the other numbers smaller or bigger than those 2 don't work
we need to prove there is no other solution from negative infinity to positive infinity - correct?
non-positive n is all non-integer
or am I mistaken?
are integers considered to be just the positive numbers?
I think I got a lead, let me work on a bit.
yes positive only, I think.
try plotting the graph for negative integers
so far I only got K = 2 :(
I'm thinking more of the definition of integers - I was always under the impression they were all negative and positive whole numbers
it only works for 1 and 3 :-D
we have to prove that \( 2^n+1 \gt n^2 \forall n >3 \)
that's plain induction routine I suppose ;)
wow
alright problem solved give us the next one!
I don't get it, how does that prove that \(2^n+1\) is not divisible by \(n^2\)?
No this is not what you need to prove. Just saying that it is bigger is not enough. It is a divisiblity problem
it is trivial that is bigger but how do you show taht 2^12589 +1 /12589^2 is not an integer?
I am really getting slow :P thanks asnaseer :)
just show that 12589^2 is even
:) true
turns out it is odd :-P what do we do now
I think I have a lead...
oh show that n^2 is not a factor of 2^n + 1
in one of your previous problems ( http://openstudy.com/users/foolformath#/updates/4f0305f8e4b01ad20b546de4) I proved that \(2^{2k+1}+1\) is always a multiple of 3. I wonder if that can be used here?
since here we know n must be odd we can say \(n=2k+1\)
but, n can be odd or even
no n must be odd
\(2^n+1\) is always odd isn't it?
yes.
therefore \(n^2\) must be odd
therefore n must be odd?
nope
yes
aha, right.
yes?
:)
only odd^anything is odd
2^n + 1 can be expanded as (2 + 1)(2^{n-1} - 2^{n-2} + 2^{n-3}... -2 +1)
2^n + 1 is always a multiple of 3
oh so you reduced the domain of n to the odd numbers
so reduce it to 2 numbers!
what is the upper bound of the equation
so, so we have:\[\frac{2^n+1}{n^2}=\frac{2^{2k+1}+1}{(2k+1)^2}=\frac{3m}{(2k+1)^2}\]
yep!
?
agdgdgdgwngo - I had proved that \(2^{2k+1}=3m\) in an earlier post by FFM
so 2^2k+1 is a multiple of 3?
yes - you can prove it using induction
so you're close to proving that K = 2
It can be expanded as (2 + 1)(2^{n-1} - 2^{n-2} + 2^{n-3}... -2 +1). when n is odd
There is one liner proof that \( 2^n+1\) is a multiple of 3 when n is odd.
but that uses some number theory notation
ok - we know the original numerator \(2^n+1\) is odd, therefore 3m must be odd, therefore m must be odd, so now we have:\[\frac{2^n+1}{n^2}=\frac{2^{2k+1}+1}{(2k+1)^2}=\frac{3m}{(2k+1)^2}=\frac{3(2j+1)}{(2k+1)^2}\]where \(m=2j+1\)
aha
you got it ?
this must imply 2j+1 must be divisible by 2k+1 - right?
therefore only solutions are when j=k
which leaves:\[\frac{3}{2k+1}\]
and that only has a solution for k=0 and k=1
bingo!
but I found k = 2
nice
K=2 - I have little k here :-)
or do you mean that the 2 numbers are 1 and 3
oh... symbol overload
lol!
my python solution came up with K = 2 for n = 1 and 3 in half a second..... how long did this take? an hour.
that felt really satisfying - time to go eat now - thx FFM for setting such wonderful problems - I feel young again! :-)
Join our real-time social learning platform and learn together with your friends!