Annual appeal: Please make a donation to keep the OEIS running!
Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
a(1)=1; for n > 1, a(n) is the smallest number that is formed by arranging the decimal numbers "1", "2", ..., "n" in some order so that the sum of every pair of adjacent numbers "i" "j" is prime.