We look for a number, with
a) all numerals only once
b) all triplets of three consecutive numerals in this number are "nearly prime"
that means: if np is "nearly prime", then np or np+1 is a prime number
What is maximum prime number fulfilling conditions a) and b)
Example: 21089 :
neighbor triplets are 210, 108 and 089 - all are nearly prime, cause 211, 109 and 89 are prime numbers, 21089 too.
Solution code: this maximum "nearly prime neighbor-triplets" prime-number
on 28. November 2011, 19:46 by CHalb
Das Lösen dieses Rätsels kommt mir ein wenig vor wie ein Lotteriespiel, also ziemlich zufallsgesteuert. Das ist es natürlich durch die Primzahlen, aber bei der #1 kriegte ich das nicht so zu spüren.
@StefanSch: Ich vermute du hast keinen Denkfehler, sondern hast schlicht etwas übersehen.
on 5. October 2011, 17:09 by geophil
Bessere Lösung von Gabi! Sorry
Please note: The German version of this page has changed. It is possible that this page does not contain the latest information.