a(1) = 1; thereafter a(n) is always the smallest integer > a(n-1) not leading to a contradiction, such that the concatenation of any four consecutive digits in the sequence is a prime.

A152609

a(1) = 1; thereafter a(n) is always the smallest integer > a(n-1) not leading to a contradiction, such that the concatenation of any four consecutive digits in the sequence is a prime.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =7a(4) =19a(5) =31a(6) =91a(7) =373a(8) =931a(9) =1931a(10) =1933a(11) =7193a(12) =11931a(13) =19311a(14) =93119a(15) =311931a(16) =913733a(17) =1373313a(18) =7331373a(19) =9311931a(20) =19311931a(21) =19311933a(22) =71931193a(23) =119311931a(24) =193119311a(25) =931193119a(26) =3119311931a(27) =9137331373a(28) =9311931193

External references