How well do you know prime numbers?

Let the number of 3 digit prime numbers be x x .

Let the number of 3 digit prime numbers having only 2 distinct digits be y y .

What is the value of x y x-y ?

Notes

  • 123 has 3 distinct digits but 222 has only one.


The answer is 97.

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 27, 2016

A little Python script:

gives us 97 \fbox{97} .

Note: this prime function only works well for n>2. Luckily, we are only dealing with n>100 in this problem.

Thanx for the solution.

Aman Jain - 4 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...