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

A152606

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

Terms

    a(0) =1a(1) =2a(2) =3a(3) =4a(4) =5a(5) =8a(6) =9a(7) =21a(8) =45a(9) =83a(10) =89a(11) =450a(12) =503a(13) =630a(14) =701a(15) =810a(16) =901a(17) =2101a(18) =2103a(19) =4121a(20) =6301a(21) =6303a(22) =6503a(23) =6901a(24) =43030a(25) =70103a(26) =81010a(27) =90101a(28) =210101a(29) =210103

External references