A101042 sorted. There exists a prime p for which a(n) is the smallest positive d such that p is the smallest prime where p+d is also prime.

A101043

A101042 sorted. There exists a prime p for which a(n) is the smallest positive d such that p is the smallest prime where p+d is also prime.

Terms

    a(0) =1a(1) =2a(2) =6a(3) =22a(4) =88a(5) =112a(6) =116a(7) =202a(8) =242a(9) =284a(10) =470a(11) =718a(12) =772a(13) =1326a(14) =1328a(15) =1334a(16) =1642a(17) =1732a(18) =1762a(19) =2402a(20) =2558a(21) =3274a(22) =5246a(23) =5888a(24) =7094a(25) =7702a(26) =7984a(27) =9512a(28) =9952a(29) =9974

External references