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

A152604

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

Terms

    a(0) =1a(1) =2a(2) =3a(3) =5a(4) =7a(5) =8a(6) =9a(7) =51a(8) =83a(9) =110a(10) =111a(11) =211a(12) =301a(13) =310a(14) =311a(15) =631a(16) =703a(17) =710a(18) =911a(19) =2111a(20) =2113a(21) =2117a(22) =2119a(23) =2153a(24) =2155a(25) =2159a(26) =2171a(27) =2173a(28) =2177a(29) =2179

External references