快猫短视频

BrainTwister #36: Prime generators

3D illustration, brain shaped maze. Concept image of study and brain behavior.; Shutterstock ID 2177110871; purchase_order: -; job: -; client: -; other: -

#36 Prime generators

set by Peter Rowlett

In 1772, mathematician Leonhard Euler noticed that the value of the polynomial x2 + x + 41 is a prime number if you set x=0. He also spotted it is prime if x=1 and it keeps on giving primes for values of x up to 39.

If we use x2 + x + 3 instead, and put x=0, we get 3. Using x=1 gives 5, but the pattern then breaks because x=2 gives 9, which isn鈥檛 prime. So, x2 + x + 3 generates a sequence of two primes.

How many primes in a sequence are created by x2 + x + 5 using x=0, 1, 2 and so on?

For a prime p, we can generate a sequence of primes using x2 + x + p with x=0, 1, 2 and so on. Which value of p between 220 and 230 generates the longest sequence of primes?

I noticed that for all the values of p with a polynomial that generates multiple primes, p+2 is also prime (we call this a pair of twin primes). Why is this? Will it always be the case?

Solution next week

#35 Cube cuts

Solution

To make four pieces, we just need two cuts. One would cut a 3-by-3 slice off one side of the cube, then we just keep the pieces together and cut along any plane that passes through both.

If each cut you make splits the cubes in half, it should be possible to create as many as 25 = 32 smaller pieces in five cuts. In this case, however, the first cut will always split the 27 cubes into pieces of size 9 and 18, and then there is no way to split the 18 cubes in only four cuts (even if we split them in half each time, 24 is only 16).

If we can only cut one piece at a time, this will take 26 cuts: each cut increases the total number of pieces by 1.

Quick quiz #268

set by Bethan Ackerley

1 When two substances cannot mix to form a solution, such as oil and water, they are known as what?

2 Which of the following trees isn't a gymnosperm: the giant sequoia, the ginkgo or the European beech?

3 Fossils of the spear-shaped guards of which ancient creatures were historically known as devil's fingers or St Peter's fingers?

4 In which organ of the body would you find Bachmann's bundle?

5 Of the 88 modern constellations designated by the International Astronomical Union, which covers the largest area of the night sky?


Quick quiz #268

Answers

1 Immiscible

2 The European beech

3 Belemnites

4 The heart

5 Hydra