OFFSET
1,1
COMMENTS
For n>1, 4*a(n) is a solution to the equation phi(x-1) - phi(x) = x/2. - Farideh Firoozbakht, Dec 17 2014
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
MAPLE
select(n -> isprime(n) and isprime(4*n-1), [2, seq(2*k+1, k=1..1000)]); # Robert Israel, Dec 17 2014
PROG
(PARI) { n=0; forprime (p=2, 10^5, if (isprime(4*p - 1), write("b062737.txt", n++, " ", p); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 10 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reiner Martin, Jul 12 2001
STATUS
approved