[seqfan] put the numbers from 1 to n such the sum of two of them are prime

Claudio Meller claudiomeller at gmail.com
Sun Mar 13 20:26:59 CET 2011


In the blog "Mis Acertijos" (
http://www.misacertijos.com.ar/2011/03/lineas-con-numeros-de-1-n.html)  this
problem appears:
make a number K with the digits from 1 to n such the sum of two consecutive
digits is a prime number, for example (with minimal K):

n=2  23
n=3 123
n=4 1234
n=5 14325
n=6  143256

The secuence begins 23,123,1234,14325,143256,....

The questions are :
 - There is a solution for all n > 2 ?
 - Is this a known problem ?




Claudio



More information about the SeqFan mailing list