Symmetrical Primes

Let p p be the primes which are having its first digit equal to the last digit. Find the largest prime p p for p < 1000 p< 1000 .


The answer is 929.

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

Tijmen Veltman
Jun 13, 2015

We can simply work our way down from 1000 1000 to see what the largest possible value of p p is:

999 999 : divisible by 3 3 ;

989 989 : divisible by 23 23 ;

979 979 : divisible by 11 11 ;

969 969 : divisible by 3 3 ;

959 959 : divisible by 7 7 ;

949 949 : divisible by 13 13 ;

939 939 : divisible by 3 3 ;

929 929 : prime!

Therefore the answer is 929 \boxed{929} .

Moderator note:

Simple standard approach.

Aah, did the same way. But earlier thought that it needed some special formula.

Swapnil Das - 5 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...