Proving an integer is composite

  • #1
ver_mathstats
260
21
Homework Statement:
Let a be an integer equal or greater than 0. Prove that at least one of the integers 9a+1, 9a+10, 9a+19 and 9a+28 is composite
Relevant Equations:
euclidean algorithm
I am really struggling in how to begin this problem. So far I have considered using the Euclidean Algorithm and trying to find the gcd of each number like gcd(9,10) but each time they give me 1 so that doesn't work. My next idea is to do a proof by contradiction where I start with assuming that the integers are prime and somehow find a contradiction but I am unsure how to proceed.

Any help would be appreciated as I am really unsure of how to proceed. Thank you.
 

Answers and Replies

  • #2
fresh_42
Mentor
Insights Author
2022 Award
17,788
18,944
Are there even numbers among them?
 
  • Like
Likes scottdave, topsquark and PeroK
  • #3
WWGD
Science Advisor
Gold Member
6,320
8,379
There's some overlap. To the effects of the problem, all those are the same mod9:
9a+10=(9a+1)+9, etc.
Are you sure you're using the right numbers?
 
  • Like
Likes ver_mathstats and topsquark
  • #4
ver_mathstats
260
21
There's some overlap. To the effects of the problem, all those are the same mod9:
9a+10=(9a+1)+9, etc.
Are you sure you're using the right numbers?
Yes this is the question I was given
 
  • #5
36,856
8,899
Three of the numbers in the set 9a+1, 9a+10, 9a+19 and 9a+28 seem to me to be red herrings that aren't essential to the problem. The sequence ##\{9a + 1 | a \ge 0\}## contains as subsets the sequences that are generated by the other three expressions. A previous hint asking whether some members of the sequence are even might be helpful.
 
  • Like
Likes ver_mathstats and topsquark
  • #6
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
24,024
15,710
Yes this is the question I was given
I'm struggling to see why you're struggling. It's difficult to give a hint without giving away the answer.

That said, the problem looks suspiciously easy.
 
  • #7
ver_mathstats
260
21
I'm struggling to see why you're struggling. It's difficult to give a hint without giving away the answer.

That said, the problem looks suspiciously easy.
i am not the best with proofs unfortunately
 
  • #8
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
24,024
15,710
i am not the best with proofs unfortunately
can you prove that one of ##9a+1## and ##9a +2## is composite?
 
  • #9
WWGD
Science Advisor
Gold Member
6,320
8,379
Ok, I guess I overcomplicated it. @ver_mathstats : Have you tried to just generate quartets using different values of a?
 
  • #10
ver_mathstats
260
21
Ok, I guess I overcomplicated it. @ver_mathstats : Have you tried to just generate quartets using different values of a?
yes I have, and i get some prime numbers
 
  • #11
fresh_42
Mentor
Insights Author
2022 Award
17,788
18,944
yes I have, and i get some prime numbers
It is not about getting prime numbers. You said that you were looking for the existence of composite numbers. Therefore, look at even numbers, and make sure they are at least divisible by 4. You only have to find some, neither all nor none.
 
  • #12
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
24,024
15,710
yes I have, and i get some prime numbers
Have you found ##a## where all four numbers are prime?
 
  • Like
Likes WWGD and scottdave
  • #13
36,856
8,899
For a given value of a, look at two cases: one where a is even and the other where a is odd.
 
  • Like
Likes scottdave and malawi_glenn
  • #14
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,744
1,329
i am not the best with proofs unfortunately
Don't worry about a formal proof initially. Just play around with these expressions, somewhat systematically.

What can you say about the even-ness / odd-ness of ##9a## if ##a## is even?

What can you say about the even-ness / odd-ness of ##9a## if ##a## is odd?
 
  • Like
Likes WWGD, scottdave and PeroK

Suggested for: Proving an integer is composite

Replies
2
Views
402
Replies
4
Views
401
  • Last Post
Replies
9
Views
71
Replies
13
Views
860
Replies
5
Views
896
Top