a(1)=3,a(2)=5; a(n+1)=smallest prime number > a(n-1) such that the sum of any three consecutive terms is a prime.

A168322

a(1)=3,a(2)=5; a(n+1)=smallest prime number > a(n-1) such that the sum of any three consecutive terms is a prime.

Terms

    a(0) =3a(1) =5a(2) =5a(3) =7a(4) =7a(5) =17a(6) =13a(7) =23a(8) =17a(9) =31a(10) =19a(11) =47a(12) =23a(13) =61a(14) =29a(15) =67a(16) =31a(17) =83a(18) =37a(19) =103a(20) =41a(21) =107a(22) =43a(23) =113a(24) =67a(25) =127a(26) =83a(27) =137a(28) =97a(29) =139

External references