Counting Integers k with Satisfying Equations Involving Non-Negative Integers

  • MHB
  • Thread starter anemone
  • Start date
  • Tags
    Integers
In summary, there are 1255 possible values for k when 1 < k < 2012, where k can be any odd number apart from 1 or any multiple of 8 apart from 8 itself. This is determined by the equation k = a^2(a^2+2c)-b^2(b^2+2c) and the possible values of a and b.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Find the number of integers $k$ with $1<k<2012$ for which there exist non-negative integers $a,\,b,\,c$ satisfying the equation $a^2(a^2+2c)-b^2(b^2+2c)=k$.

($a,\,b,\,c$ are not necessarily distinct.)
 
Last edited:
Mathematics news on Phys.org
  • #2
[sp]$$k = a^2(a^2+2c)-b^2(b^2+2c) = a^4 - b^4 + 2c(a^2 - b^2) = (a^2 - b^2)(a^2+b^2+2c).$$ If $a=1$ and $b=0$ then $k = 1+2c$. In that way, $k$ can be any odd number apart from $1$.

If $a=2$ and $b=0$ then $k = 8(2+c)$. In that way, $k$ can be any multiple of $8$ apart from $8$ itself.

To see that these are the only values of $k$ that can occur, notice that if $a$ and $b$ have opposite signs then $a^2-b^2$ and $a^2+b^2+2c$ will both be odd, and therefore $k$ will be odd. If $a$ and $b$ are both even, or both odd, then $a^2-b^2$ will be a multiple of $4$ and $a^2+b^2+2c$ will be even, and so $k$ will be a multiple of $8$.

There are $1005$ odd numbers between $2$ and $2011$ (inclusive), and there are $250$ multiples of $8$ between $16$ and $2008$ (inclusive), giving a total of $1255$ possible values for $k$.[/sp]
 
  • #3
Opalg said:
[sp]$$k = a^2(a^2+2c)-b^2(b^2+2c) = a^4 - b^4 + 2c(a^2 - b^2) = (a^2 - b^2)(a^2+b^2+2c).$$ If $a=1$ and $b=0$ then $k = 1+2c$. In that way, $k$ can be any odd number apart from $1$.

If $a=2$ and $b=0$ then $k = 8(2+c)$. In that way, $k$ can be any multiple of $8$ apart from $8$ itself.

To see that these are the only values of $k$ that can occur, notice that if $a$ and $b$ have opposite signs then $a^2-b^2$ and $a^2+b^2+2c$ will both be odd, and therefore $k$ will be odd. If $a$ and $b$ are both even, or both odd, then $a^2-b^2$ will be a multiple of $4$ and $a^2+b^2+2c$ will be even, and so $k$ will be a multiple of $8$.

There are $1005$ odd numbers between $2$ and $2011$ (inclusive), and there are $250$ multiples of $8$ between $16$ and $2008$ (inclusive), giving a total of $1255$ possible values for $k$.[/sp]

Well done Opalg!(Yes)(Yes) And thanks for participating!:)
 

FAQ: Counting Integers k with Satisfying Equations Involving Non-Negative Integers

How do I find the number of integers k in a given set?

To find the number of integers k in a given set, you need to count the total number of elements in the set that are integers. This can be done by manually counting or using a mathematical formula depending on the size and complexity of the set.

Can you provide an example of finding the number of integers k?

Sure, for example, if we have a set of numbers {2, 4, 6, 8, 10}, we can see that there are 5 integers in the set. Therefore, the number of integers k in this set is 5.

Is it possible to have a set with no integers?

Yes, it is possible to have a set with no integers. For example, if we have a set of numbers {1.5, 2.7, 3.2, 4.9}, there are no integers in this set. Therefore, the number of integers k in this set is 0.

How can I find the number of integers k in a set of negative numbers?

To find the number of integers k in a set of negative numbers, you can use the same method as finding the number of integers in a set of positive numbers. Simply count the total number of elements in the set that are integers.

Can the number of integers k in a set be a decimal or fraction?

No, the number of integers k in a set can only be a whole number. Integers are defined as whole numbers, so decimals and fractions cannot be considered integers.

Similar threads

Replies
1
Views
958
Replies
9
Views
2K
Replies
1
Views
895
Replies
1
Views
2K
Replies
1
Views
912
Replies
2
Views
1K
Replies
4
Views
3K
Replies
7
Views
541
Back
Top