Find the number of integers "k"

  • MHB
  • Thread starter anemone
  • Start date
  • Tags
    Integers
In summary: Edit.Yes, that is correct and well done! By the way, I hope you don't mind me asking you to keep plugging away at this problem.:)Not at all. I am grateful for the opportunity.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Find the number of integers $k$ with $1 \le k \le 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$.
 
Mathematics news on Phys.org
  • #2
anemone said:
Find the number of integers $k$ with $1 \le k \le 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$.

Hello.

Again.(Muscle):mad:

There will be an easier way, not?

[tex](a^2+b^2+2c)(a-b)(a+b)=k[/tex]

Solution:

[tex]1 \le a \le 8[/tex]

[tex]0 \le b \le 7[/tex]

[tex]4 \le c \le 1005[/tex]

Supposing: a>b

Regards.

Edit. Misprint
 
  • #3
mente oscura said:
Hello.

Again.(Muscle):mad:

There will be an easier way, not?

[tex](a^2+b^2+2c)(a-b)(a+b)=k[/tex]

Solution:

[tex]1 \le a \le 8[/tex]

[tex]0 \le b \le 7[/tex]

[tex]4 \le c \le 1005[/tex]

Supposing: a>b

Regards.

Edit. Misprint

Hello.

Thank you very much.

Evidently, I did not understand well the question.
In addition, I am going to correct another misprint.

[tex](a^2+b^2+2c)(a-b)(a+b)=k[/tex]

Solution:

[tex]1 \le a \le 8[/tex]

[tex]0 \le b \le 7[/tex]

[tex]0 \le c \le 1005[/tex]

[tex]k=1999[/tex]

Regards.

Edit.
 
  • #4
mente oscura said:
Hello.

Thank you very much.

Evidently, I did not understand well the question.
In addition, I am going to correct another misprint.

[tex](a^2+b^2+2c)(a-b)(a+b)=k[/tex]

Solution:

[tex]1 \le a \le 8[/tex]

[tex]0 \le b \le 7[/tex]

[tex]0 \le c \le 1005[/tex]

[tex]k=1999[/tex]

Regards.

Edit.

Thanks for participating mente oscura, but I'm sorry, your answer isn't correct.
 
  • #5
anemone said:
Thanks for participating mente oscura, but I'm sorry, your answer isn't correct.
Hello.

Excuse me.:mad:
Allow me to take part again. I have checked my calculations and have a mistake.
[tex]k=1253[/tex]

The longest line:

[tex]For : \ a=1 \ , \ b=0 \rightarrow{k_1=1006} [/tex]

[tex]For : \ a=2 \ , \ b=0 \rightarrow{k_2=245}[/tex]
Added:

[tex]For : \ a=3 \ , \ b=1 \rightarrow{k_3=2}[/tex]

[tex]k_1+k_2+k_3=1253[/tex]

Regards.
 
  • #6
mente oscura said:
Hello.

Excuse me.:mad:
Allow me to take part again. I have checked my calculations and have a mistake.
[tex]k=1253[/tex]

The longest line:

[tex]For : \ a=1 \ , \ b=0 \rightarrow{k_1=1006} [/tex]

[tex]For : \ a=2 \ , \ b=0 \rightarrow{k_2=245}[/tex]
Added:

[tex]For : \ a=3 \ , \ b=1 \rightarrow{k_3=2}[/tex]

[tex]k_1+k_2+k_3=1253[/tex]

Regards.

Sorry, please try again.:)
 
  • #7
anemone said:
Sorry, please try again.:)

[tex]For : \ a=1 \ , \ b=0 \rightarrow{k_1=1006} [/tex]

[tex]0 \le c \le 1005[/tex]

[tex]c: \ 0,1,2,...,1004,1005[/tex]

It corresponds:

[tex]k: \ 1,3,5,...,2009,2011[/tex][tex]For : \ a=2 \ , \ b=0 \rightarrow{k_2=250}[/tex]

[tex]0 \le c \le 249[/tex]

[tex]c: \ 0,1,2,...,248,249[/tex]

It corresponds:

[tex]k: \ 16,24,32,...,2000,2008[/tex]

Solution:

[tex]k_1+k_2=1256[/tex]

Regards.:)
 
  • #8
I agree with http://mathhelpboards.com/members/mente-oscura/'s latest version.

[sp]Write the equation as $(a^4-b^4) + 2(a^2-b^2)c = k$.

If $(a,b) = (1,0)$ then we get $1+2c = k$. That generates all the odd numbers, 1 to 2011, total $1006$ numbers.

If $(a,b) = (2,0)$ then we get $16+8c = k.$ That generates all the multiples of 8 except for 8 itself. Total $250$ numbers.

After that, there will be nothing new. If $a$ and $b$ are both even or both odd then we get multiples of 8. If they have opposite signs then we get odd numbers. So the overall total is $1256.$[/sp]
 
  • #9
mente oscura said:
[tex]For : \ a=1 \ , \ b=0 \rightarrow{k_1=1006} [/tex]

[tex]0 \le c \le 1005[/tex]

[tex]c: \ 0,1,2,...,1004,1005[/tex]

It corresponds:

[tex]k: \ 1,3,5,...,2009,2011[/tex][tex]For : \ a=2 \ , \ b=0 \rightarrow{k_2=250}[/tex]

[tex]0 \le c \le 249[/tex]

[tex]c: \ 0,1,2,...,248,249[/tex]

It corresponds:

[tex]k: \ 16,24,32,...,2000,2008[/tex]

Solution:

[tex]k_1+k_2=1256[/tex]

Regards.:)

Yes, that is correct and well done! By the way, I hope you don't mind me asking you to keep plugging away at this problem.:)
Opalg said:
I agree with http://mathhelpboards.com/members/mente-oscura/'s latest version.

[sp]Write the equation as $(a^4-b^4) + 2(a^2-b^2)c = k$.

If $(a,b) = (1,0)$ then we get $1+2c = k$. That generates all the odd numbers, 1 to 2011, total $1006$ numbers.

If $(a,b) = (2,0)$ then we get $16+8c = k.$ That generates all the multiples of 8 except for 8 itself. Total $250$ numbers.

After that, there will be nothing new. If $a$ and $b$ are both even or both odd then we get multiples of 8. If they have opposite signs then we get odd numbers. So the overall total is $1256.$[/sp]

Thank you Opalg for your well-explained solution!
 
  • #10
anemone said:
... By the way, I hope you don't mind me asking you to keep plugging away at this problem.:)

Not. On the contrary. I am very grateful, of that one has offered more opportunities, to correct my "miscalculations". Thank you.:)

Regards.
 

FAQ: Find the number of integers "k"

How do you find the number of integers "k" in a given range?

To find the number of integers "k" in a given range, you can simply subtract the lower bound from the upper bound and add 1. For example, if the range is from 1 to 10, the number of integers "k" would be 10-1+1 = 10.

What is the formula for finding the number of integers "k"?

The formula for finding the number of integers "k" is (upper bound - lower bound + 1). This accounts for the inclusive nature of integer ranges.

Can "k" be a decimal or fraction?

No, "k" is typically used to represent whole numbers or integers. Decimals and fractions are represented by different variables.

How do you handle a range that includes negative numbers when finding the number of integers "k"?

When dealing with a range that includes negative numbers, you can use the same formula of (upper bound - lower bound + 1). However, it is important to remember that the absolute value of the difference between the upper and lower bound should be taken to avoid getting a negative result.

Can you find the number of integers "k" in an infinite range?

No, it is not possible to find the number of integers "k" in an infinite range. This is because infinity is not a number and therefore cannot be used in mathematical calculations.

Similar threads

Replies
1
Views
877
Replies
1
Views
943
Replies
1
Views
2K
Replies
7
Views
398
Replies
17
Views
2K
Back
Top