The total length of the base n sequence when starting from 2 and creating the smallest unused prime number, when read in base n, by either removing 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.

A389926

The total length of the base n sequence when starting from 2 and creating the smallest unused prime number, when read in base n, by either removing 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) =43a(1) =4a(2) =30a(3) =23a(4) =29088a(5) =36a(6) =2771a(7) =513a(8) =205696a(9) =659a(10) =4016219a(11) =425

External references