ab, bc, cd, de are prime numbers

Find the largest number of five different digits a b c d e \overline { a b c d e } such that a b \overline { ab } , b c \overline { bc } , c d \overline { cd } and d e \overline { de } are prime numbers.

Gives in response a + b + c + d + e . a + b + c + d + e.


The answer is 28.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Stephen Mellor
Jan 25, 2018

a b \overline{ab} , b c \overline{bc} , c d \overline{cd} and d e \overline{de} , are all prime. Since all prime numbers greater than 2 2 end in 1 , 3 , 7 , 9 1,3,7,9 , ( b , c , d , e ) = ( 1 , 3 , 7 , 9 ) (b,c,d,e) = (1,3,7,9) in some order. Note that 02 \overline{02} cannot be one of the prime numbers, since this would make the previous prime number end in 0 0 which is impossible. Another possibility is that a b = 02 \overline{ab} = \overline{02} , but this would produce a number with 4 4 digits, and since we can find a greater example, this is not the case.

Now, since ( b , c , d , e ) = ( 1 , 3 , 7 , 9 ) (b,c,d,e) = (1,3,7,9) , we want to maximise a a in order to find the largest number. The largest possible value of a a is 8 8 , and placing the other digits in descending order to maximise the number, we get the number 89731 89731 . By checking, this satisfies the rules, and since it is the upper bound, the answer is 8 + 9 + 7 + 3 + 1 = 28 8+9+7+3+1 = \boxed{28}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...