Find the number of n that can be divided by 7

  • Thread starter Thread starter songoku
  • Start date Start date
AI Thread Summary
The discussion centers on finding values of n from 1 to 2009 for which the expression Un = 4n^6 + n^3 + 5 is divisible by 7. Participants suggest using modular arithmetic and mathematical induction to explore the problem, particularly by checking values of n from 0 to 6. It is noted that if Un is divisible by 7 for a certain n, then Un+7 will also be divisible by 7, forming an arithmetic sequence. Testing initial values helps identify potential patterns, though some express uncertainty about the approach. Ultimately, the group emphasizes the importance of checking specific n values to determine divisibility by 7.
songoku
Messages
2,467
Reaction score
382

Homework Statement


Given that Un=4n6+n3+5. Find the number of n, where n = {1, 2, 3,... 2009} so that Un can be divided by 7


Homework Equations


Don't know


The Attempt at a Solution


Completely blank...
 
Physics news on Phys.org
I'd say to use induction.
 
Why don't you check a few n (say for n from 1 to 10) to see what you get?

Another thing you should do is factorize your expression to see if you get something nice.
 
Think about the problem mod 7. Check n=0,1,2,3,4,5,6.
 
mtayab1994 said:
I'd say to use induction.

I only know mathematical induction is used for proofing. Can it be used to find number of n in this question?

micromass said:
Why don't you check a few n (say for n from 1 to 10) to see what you get?

Another thing you should do is factorize your expression to see if you get something nice.
U1=10
U2=269
U3=2948
U4=16453
U5=62630
U6=186845
U7=470944
U8=1049093
U9=2126498
U10=4001005

I can't see any patterns there that can be used to determine which n can be divided by 7...
I also can't factorize the expression. Or maybe you mean using perfect square?

Dick said:
Think about the problem mod 7. Check n=0,1,2,3,4,5,6.
Actually I don't have any knowledge about mod but I'll give it a try.

Let Un=a so for this question a = b (mod 7), where b must be 7k (multiplication of 7)

This is as far as I can go :blushing:
 
songoku said:
Actually I don't have any knowledge about mod but I'll give it a try.

Let Un=a so for this question a = b (mod 7), where b must be 7k (multiplication of 7)

This is as far as I can go :blushing:

Ok, let's not use the word 'mod'. Can you show U_{n+7}-U_n is divisible by 7? That means U_n is divisible by 7 iff U_{n+7} is divisible by 7.
 
Dick said:
Ok, let's not use the word 'mod'. Can you show U_{n+7}-U_n is divisible by 7? That means U_n is divisible by 7 iff U_{n+7} is divisible by 7.

I can show that Un+7 - Unis divisible by 7 by expanding Un+7 and after subtraction, the terms left will all have 7 as factor.

I have several things that I still not clear:
1. How "Un+7 - Unis divisible by 7" be used to find number of n?
2. Why you use Un+7 - Un? Is it because divisible by 7? If the question asking about divisibility by 5 then Un+5 - Un?

Thanks
 
songoku said:
I can show that Un+7 - Unis divisible by 7 by expanding Un+7 and after subtraction, the terms left will all have 7 as factor.

I have several things that I still not clear:
1. How "Un+7 - Unis divisible by 7" be used to find number of n?
2. Why you use Un+7 - Un? Is it because divisible by 7? If the question asking about divisibility by 5 then Un+5 - Un?

Thanks

Look. U_0 is not divisible by 7, right? That means U_7, U_14, U_21,... are not divisible by 7. Agree with that?
 
Dick said:
Look. U_0 is not divisible by 7, right? That means U_7, U_14, U_21,... are not divisible by 7. Agree with that?

Yes. So if we know which n produces Un that is divisible by 7, then Un+7 will also be divisible by 7 and they will form arithmetic sequence. Do i get your hint correctly? :biggrin:

Then how to find the first n?

Thanks
 
  • #10
songoku said:
Yes. So if we know which n produces Un that is divisible by 7, then Un+7 will also be divisible by 7 and they will form arithmetic sequence. Do i get your hint correctly? :biggrin:

Then how to find the first n?

Thanks

Why not simply try testing U1 to U7? I did it, and it took me no more than 5 minutes with a calculator.

EDIT: Or U0 to U6, as Dick suggested, which entails less work. In fact you can even test U-3 to U3, and that would involve the smallest numbers of all, and still give a complete result.
 
Last edited:
  • #11
songoku said:
Yes. So if we know which n produces Un that is divisible by 7, then Un+7 will also be divisible by 7 and they will form arithmetic sequence. Do i get your hint correctly? :biggrin:

Then how to find the first n?

Thanks

There may not be any n. Check each point that might be a start of the arithmetic sequence. Like I said before, try n=0,1,2,3,4,5,6.
 
  • #12
Curious3141 said:
Why not simply try testing U1 to U7? I did it, and it took me no more than 5 minutes with a calculator.

EDIT: Or U0 to U6, as Dick suggested, which entails less work. In fact you can even test U-3 to U3, and that would involve the smallest numbers of all, and still give a complete result.

Dick said:
There may not be any n. Check each point that might be a start of the arithmetic sequence. Like I said before, try n=0,1,2,3,4,5,6.

Ah, I think I get it. Thanks a lot for the help :smile:
 
Back
Top