At a careers fair I was given a test to see how good I am at mental maths, And I was given multiple questions, asking whether a number was a prime.
Example question:
Which of these numbers isn't a prime?
$$257,317,287,263$$
Well, my first insentive is to check the 10s digit, so I added y to my answers and divided it by that y value, (Like $\frac{k+3}{3}$ is proved when $k$ is a multiple of $3$)
Turns out, none of the worked, not even the correct answer. (Which is $287$)
Which begs the question, how do you find a prime number mentally?, On a calculator it's as simple as displaying it's prime factors, but even then the computer inside is dividing it by $1,2,3,4,5,\ldots$ until its square root
My only guess is that there is a sequence that can be used to list a few primes, that knocks off $2$ of the candidates...
Edit: My technique was half right, rather than sticking to 3 i should have gone further up the prime numbers up to 20.
For numbers less than $400$, you only need to test whether it has a prime factor less than $20$, that is, $2,3,5,7,11,13,17,19$. Testing for $2,3,5,11$ is easy. For the others, just do the division. It helps to subtract clear multiples of one of those primes. For instance, $317$ is not divisible by $17$ because $300=317-17$ isn't. Similarly, $263$ is not divisible by $13$ because $250=263-13$ isn't (or $3=263-260$ isn't, noting that $260=13\cdot 20$).