OFFSET
1,1
COMMENTS
There is an array defined by: A(n,k) is the k-th smallest prime such that p+4*n is also prime (analog of A231608). It starts
3 7 13 19 37 43 67 79 97 103
3 5 11 23 29 53 59 71 89 101
5 7 11 17 19 29 31 41 47 59
3 7 13 31 37 43 67 73 97 151
3 11 17 23 41 47 53 59 83 89
5 7 13 17 19 23 29 37 43 47
3 13 19 31 43 61 73 79 103 109
5 11 29 41 47 71 107 131 149 167
5 7 11 17 23 31 37 43 47 53
3 7 13 19 31 43 61 67 73 97
a(n) = A(n,n) reads along the main diagonal of this array. - R. J. Mathar, Nov 19 2014
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
PROG
(PARI) a(n) = nb=0; forprime(p=3, , if (isprime(p+4*n), nb++; if (nb==n, return (p)))); \\ Michel Marcus, Nov 16 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 16 2014
STATUS
approved