The final prime number in the base n sequence when starting from 2 and creating the smallest unused prime number, when read in base n, by either removing or changing or adding a single digit, from 0 to n-1, anywhere in the base n value of the previous number. If the base n sequence does not terminate, a(n) = -1.

A390367

The final prime number in the base n sequence when starting from 2 and creating the smallest unused prime number, when read in base n, by either removing or changing or adding a single digit, from 0 to n-1, anywhere in the base n value of the previous number. If the base n sequence does not terminate, a(n) = -1.

Terms

    a(0) =13a(1) =53a(2) =2557a(3) =12239a(4) =5888741a(5) =653a(6) =397459a(7) =431329a(8) =8074013a(9) =5059a(10) =3340970117a(11) =5861a(12) =531804751a(13) =1036899713a(14) =1415645447a(15) =717427

External references