I just love primes!

What is the smallest prime number that contains all the prime digits ?


The answer is 2357.

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.

2 solutions

Michael Mendrin
Feb 11, 2016

This is the 3rd Smarandache-Wellin Prime, as in 2 , 23 , 2357 2, 23, 2357 , which is a prime number formed by concactenating successive primes. The 4th one is

2357111317192329313741434753596167717379838997101103107109 2357111317192329313741434753596167717379838997101103107109
1131271311371391491511571631671731791811911931971992112232 1131271311371391491511571631671731791811911931971992112232
27229233239241251257263269271277281283293307311313317331337 27229233239241251257263269271277281283293307311313317331337
347349353359367373379383389397401409419421431433439443449 347349353359367373379383389397401409419421431433439443449
457461463467479487491499503509521523541547557563569571577 457461463467479487491499503509521523541547557563569571577
587593599601607613617619631641643647653659661673677683691 587593599601607613617619631641643647653659661673677683691
701709719 701709719


This happens because the larger a random number is, the less likely that it's a prime. So, a lot of primes have to keep being added until there is a "hit".

Meanwhile, of the 24 24 possible permutations of 2 , 3 , 5 , 7 2,3,5,7 , exactly 8 8 are primes

2357 , 2753 , 3257 , 3527 , 5237 , 5273 , 7253 , 7523 2357, 2753, 3257, 3527, 5237, 5273, 7253, 7523

Yeah! Right..! The city of Karachi, Pakistan, covers 3527 3527 square kilometers, which is a prime number!

Zeeshan Ali - 5 years, 4 months ago

Log in to reply

Why can't the answer be 2?

Harsh Shrivastava - 5 years, 3 months ago

Log in to reply

Probably the question should have said, "All single digits that are primes"

Michael Mendrin - 5 years, 3 months ago

The statements "all the prime digits" and "all the digits prime" are different. The first one says "should contain all 2, 3, 5 and 7 numbers which are prime digits", second one says that "all the digits of the number should be prime". Hope you've got the answer

Zeeshan Ali - 5 years, 3 months ago
Zeeshan Ali
Feb 11, 2016

The smallest non-negative integer that contains all the prime digits is: 2357 \huge{ \color{#20A900}{2357} } This number itself is a prime number! :D Isn't that amazing..!? :)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...