a(1)=3, a(2)=5; a(n+1) is the smallest prime number greater than a(n-1) and not equal to a(n) such that the sum of any three consecutive terms is a prime.

A168323

a(1)=3, a(2)=5; a(n+1) is the smallest prime number greater than a(n-1) and not equal to a(n) such that the sum of any three consecutive terms is a prime.

Terms

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

External references