login
Primes in A014692, i.e., of the form prime(k)-k+1, for some k.
3

%I #7 Dec 31 2013 17:52:27

%S 2,2,3,7,11,29,43,53,61,73,97,139,149,179,223,283,313,349,373,461,467,

%T 491,541,599,619,659,727,787,859,907,911,919,941,1019,1087,1091,1187,

%U 1223,1249,1283,1301,1321,1433,1471,1481,1511,1523,1543

%N Primes in A014692, i.e., of the form prime(k)-k+1, for some k.

%C The first term is listed twice because A014692(1) = 2-1+1 = A014692(2) = 3-2+1 = 2 both are prime; thereafter the sequence A014692 is strictly increasing, so there is no other duplicate value.

%F a(n) = prime(A234851(n)), prime = A000040.

%o (PARI) for(k=1,999,isprime(p=prime(k)-k+1)&&print1(p","))

%Y Cf. A234695.

%K nonn

%O 1,1

%A _M. F. Hasler_, Dec 31 2013