10

On a Google search, I've notice that often the "trick" involves factoring the expression (and thus showing that the expression isn't prime), but I can't see it. Is this how you would go about it in this case, or would that be a dead end? Any hints?

2
  • How is 198n+17 a duplicate of 2n+1518781 ??? math.stackexchange.com/questions/4841832/… Commented Jan 11, 2024 at 11:47
  • That's a dupe of this because exactly the same type of covering xongruence argument works there - as is explained in the closing comment there. Once you know this idea it is rote arithmetic to apply it. Commented Jun 22, 2024 at 22:22

3 Answers 3

7

If n1(mod4), then 8n8(mod13) and so

198n+17198+170(mod13)

If n3(mod4), then 8n2(mod5) and so

198n+17192+170(mod5)

If n is even, then 198n+17 is divisible by 3.

And clearly 198n+17>13,nZ+.

1
  • 1
    I explain the general idea behind this in my answer. Commented Feb 17, 2015 at 19:37
7

The first 4 elements of fK=198K+17 have these prime factorizations

f0=1980+17=2232f1=1981+17=132f2=1982+17=32137f3=1983+17=5 1949

and 841=325713=pi, where we see for all K<4, that some prime pifK which implies that for all N0 some p=pifN, so fN is composite for all N0, by

pfK0198K+17198N+17fN, so pfN, properly by p<f4fN, by

modp: 8418N8Nmod48K,K<4, by mod order reduction.

Remark This is a prototypical application of covering congruences. See also this question, and see this question for a polynomial analog, and a link to a paper of Schinzel.

4
  • See here for another example. Commented Feb 17, 2015 at 21:06
  • Doubts: (a) How do we figure out the number of elements n to factorize before noticing a pattern, and (b) why do we look at 8n1 when searching for the factors of fN. Commented Feb 18, 2015 at 18:38
  • @Anant Keep increasing n till the first n elements all have a factor from 8n1. If the compositeness can be proved via such a congruential case-analysis then this method will eventually discover it. Of course, without any a priori bound, it is only a semi-algorithm. But it works well for "designed" problems, where we expect this may occur. Commented Feb 18, 2015 at 18:50
  • Very nice! It will take me some time to understand the full content of the paper, but I'm already liking the idea of covering congruences :) Commented Mar 2, 2015 at 18:27
4

Not sure whether this qualifies for it as answer but if you reduce it mod 3 you can see that the expression is divisible by 3 if n is even.

If you reduce it mod 13 then you see that the expression is divisible by 13 if n1 mod 4. (841 mod 13 )

If you reduce it mod 5 then the expression is divisible by 5 if n is 3 mod 4.

I sort of calculated a few numbers and then tried some numbers. I don't think this is a good way at all but I guess it works.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.