a(n) is the smallest positive d such that the n-th prime is the smallest prime p for which p+d is also prime.

A101042

a(n) is the smallest positive d such that the n-th prime is the smallest prime p for which p+d is also prime.

Terms

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

External references