OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10001
FORMULA
EXAMPLE
For n=2, for which A000040(2) = 3, the first prime of the form 4k+3, we select the first prime of the form 4k+1, which is 5, thus a(2) = 5.
For n=3, for which A000040(3) = 5, the first prime of the form 4k+1, we select the first prime of the form 4k+3, which is 3, thus a(3) = 3.
For n=4, for which A000040(4) = 7, the second prime of the form 4k+3, we select the second prime of the form 4k+1, which is 13, thus a(4) = 13.
For n=5, for which A000040(5) = 11, the third prime of the form 4k+3, we select the third prime of the form 4k+1, which is 17, thus a(5) = 17.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 01 2016
STATUS
approved