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.
A187871
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.
Terms
- a(0) =1a(1) =12a(2) =123a(3) =1234a(4) =14325a(5) =143256a(6) =1234765a(7) =12347658a(8) =123476589a(9) =10123476589
External references
- oeis: A187871