Find the first (maximal) string, of length exactly n, of consecutive primes that alternate between types 6*k+1 and 6*k+5 or 6*k+5 and 6*k+1. The first element is a(n).

A289237

Find the first (maximal) string, of length exactly n, of consecutive primes that alternate between types 6*k+1 and 6*k+5 or 6*k+5 and 6*k+1. The first element is a(n).

Terms

    a(0) =53a(1) =29a(2) =67a(3) =37a(4) =449a(5) =179a(6) =5a(7) =389a(8) =89a(9) =2213a(10) =11149a(11) =10369a(12) =6761a(13) =113341a(14) =80447a(15) =151909a(16) =43777a(17) =2964553a(18) =1457333a(19) =175573a(20) =809a(21) =3954889a(22) =121930481a(23) =96050953a(24) =15186319a(25) =296080717a(26) =98380549a(27) =77011289a(28) =2720227693a(29) =5696814287

External references