Determine all postive integer k

  • MHB
  • Thread starter anemone
  • Start date
  • Tags
    Integer
In summary, we need to determine all positive integers $k$ for which the function $f(k)$ is greater than $f(k+1)$, which is defined as $\left\lfloor{\dfrac{k}{\left\lfloor{\sqrt{k}}\right\rfloor}}\right\rfloor$ for $k$ being a positive integer. It may be necessary to prove that for $k=n^2+a$ with $0<a<2n$, the function $f(k)$ is non-decreasing, but this is a simple proof and not a major concern."
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Determine all positive integers $k$ for which $f(k)>f(k+1)$ where $f(k)=\left\lfloor{\dfrac{k}{\left\lfloor{\sqrt{k}}\right\rfloor}}\right\rfloor$ for $k\in \Bbb{Z}^*$.
 
Mathematics news on Phys.org
  • #2
anemone said:
Determine all positive integers $k$ for which $f(k)>f(k+1)$ where $f(k)=\left\lfloor{\dfrac{k}{\left\lfloor{\sqrt{k}}\right\rfloor}}\right\rfloor$ for $k\in \Bbb{Z}^*$.

if k+1 is not a perfect square then the floor of square root of k and k+ 1 are same so
f(x) < f(x+1)
so we need to look at k+1 being a perfect square say $n^2$
$f(k) = \left\lfloor\dfrac{n^2-1}{n-1}\right\rfloor= n + 1$
$f(k+1) = \left\lfloor\dfrac{n^2}{n}\right\rfloor= n$
so k is of the form $n^2-1$ for $n\gt 1$
 
  • #3
kaliprasad said:
if k+1 is not a perfect square then the floor of square root of k and k+ 1 are same so
f(x) < f(x+1)
so we need to look at k+1 being a perfect square say $n^2$
$f(k) = \left\lfloor\dfrac{n^2-1}{n-1}\right\rfloor= n + 1$
$f(k+1) = \left\lfloor\dfrac{n^2}{n}\right\rfloor= n$
so k is of the form $n^2-1$ for $n\gt 1$

Hey kaliprasad, thanks for participating and your answer is correct! I think it might be necessary(?) to prove that for $k=n^2+a$ with $0<a<2n$,

$f(k)=\left\lfloor{\dfrac{n^2+a}{n}}\right\rfloor=n+\left\lfloor{\dfrac{a}{n}}\right\rfloor$ which is non-decreasing.

But then this is an easy proof, so, there is no big deal here.:)
 
  • #4
anemone said:
Hey kaliprasad, thanks for participating and your answer is correct! I think it might be necessary(?) to prove that for $k=n^2+a$ with $0<a<2n$,

$f(k)=\left\lfloor{\dfrac{n^2+a}{n}}\right\rfloor=n+\left\lfloor{\dfrac{a}{n}}\right\rfloor$ which is non-decreasing.

But then this is an easy proof, so, there is no big deal here.:)
Hello Anemone,
Both are effectively same as $k= n^2+ a$ with $0\lt a\lt2n$ is same as k+1 is not perfect square and I have mentioned that numerator is increasing and denominator is constant and I should have said $f(x) \le f(x+1)$ instead of $f(x) \lt f(x+1)$
 
  • #5


To determine all positive integers $k$ for which $f(k)>f(k+1)$, we first need to understand what the function $f(k)$ represents. In this case, $f(k)$ is the floor function of the quotient of $k$ divided by the floor function of the square root of $k$. This means that $f(k)$ is equal to the largest integer that is less than or equal to the quotient of $k$ divided by the largest integer that is less than or equal to the square root of $k$.

Now, to determine the values of $k$ for which $f(k)>f(k+1)$, we can start by looking at the behavior of the function $f(k)$ for different values of $k$. For example, when $k=1$, we have $f(1)=1$ since the largest integer less than or equal to the square root of $1$ is $1$. When $k=2$, we have $f(2)=1$ again since the largest integer less than or equal to the square root of $2$ is also $1$. However, when $k=3$, we have $f(3)=2$ since the largest integer less than or equal to the square root of $3$ is $1$, and $3$ divided by $1$ is $3$, which is greater than $2$.

This pattern continues as we increase the value of $k$. For instance, when $k=4$, we have $f(4)=2$, and when $k=5$, we have $f(5)=2$ as well. However, when $k=6$, we have $f(6)=3$ since the largest integer less than or equal to the square root of $6$ is $2$, and $6$ divided by $2$ is $3$, which is greater than $2$.

From this pattern, we can see that the values of $k$ for which $f(k)>f(k+1)$ are those that are perfect squares or one less than a perfect square. This is because the floor function of a square root will always return the value of the square root itself, while the floor function of a non-perfect square will return a value that is one less than the square root.

Therefore, all positive integers $k$ for which $f(k)>f(k+1)$
 

Related to Determine all postive integer k

What does "positive integer k" mean?

"Positive integer k" refers to any whole number greater than 0. It does not include any fractions, decimals, or negative numbers.

How do you determine the value of positive integer k?

The value of positive integer k can be determined by looking at the given information or problem and identifying the number that is being referred to as "k". For example, if the problem states "find the value of k if k + 5 = 10", then the value of k would be 5.

Can positive integer k be a variable?

Yes, positive integer k can be used as a variable in equations or problems. It is often used to represent an unknown number or quantity.

What is the difference between positive integer k and just integer k?

The term "positive integer k" specifies that k must be a whole number greater than 0. Just "integer k" does not specify any restrictions on the value of k, so it could be any positive or negative whole number.

How is positive integer k used in scientific research?

Positive integer k can be used in scientific research as a variable to represent a specific quantity or measurement. It can also be used in mathematical models and equations to represent a specific number or value.

Similar threads

Replies
1
Views
744
Replies
9
Views
2K
Replies
3
Views
796
Replies
1
Views
806
Replies
2
Views
788
  • Linear and Abstract Algebra
Replies
2
Views
1K
  • General Math
Replies
3
Views
1K
Replies
2
Views
755
  • Math POTW for Secondary and High School Students
Replies
1
Views
905
Replies
8
Views
2K
Back
Top