login
Smallest k, not occurring earlier, such that (2*k + n-th odd prime) is prime.
5

%I #6 Mar 30 2012 18:50:53

%S 1,3,2,4,5,6,9,7,12,8,11,10,14,13,15,19,18,17,16,20,24,22,21,26,25,23,

%T 28,27,30,32,31,37,29,39,36,33,35,42,34,45,38,40,44,43,41,48,47,52,51,

%U 49,46,53,54,55,58,57,56,60,64,50,63,62,61,59,66,65,71,70,69,67,72,68

%N Smallest k, not occurring earlier, such that (2*k + n-th odd prime) is prime.

%C Permutation of the natural numbers with fixed points A113005: a(A113005(n))=A113005(n);

%C inverse: A113004; A113006(n) = a(a(n));

%C A113002(n) = 2*a(n) + A065091(n).

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Oct 10 2005