Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #5 Oct 15 2013 22:32:26
%S 3,67,31,401,241,211,773,2221,1913,7649,3229,1669,2477,10009,5749,
%T 33647,9973,14107,60821,130729,16141,15683,113233,86629,95651,74959,
%U 35617,388403,214993,557093,248909,637003,296843,448451,186481,1145899
%N a(n) = A000040[A000040[A096480(n)]] = A006450[A096480(n)] = A000040[A096481(n)].
%e Both a[n] and a[n]+2n are primes while Pi[a(n)]=A096481(n),Pi[Pi[a(n)]]=A096480(n).
%e a[n]+2n=A000040[1+A000040(A096480[n])]
%t Prime[Prime[Min[Flatten[Position[Table[Prime[Prime[n]+1]- Prime[Prime[n]], {n, 1, 5000}], 2*j]]], {j, 1, 100}]]]
%o (PARI) {m=36;for(n=1,m,k=1;while((prime(prime(k)+1)-prime(prime(k)))!=2*n,k++);print1(prime(prime(k)),","))} - Klaus Brockhaus, Jun 27 2004
%Y Cf. A000040, A006450, A073124, A072677, A096477-A096481.
%K nonn
%O 1,1
%A _Labos Elemer_, Jun 23 2004
%E a(31) - a(36) from _Klaus Brockhaus_, Jun 27 2004