OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Samuel S. Wagstaff, Jr., Sum of Reciprocals of Germain Primes, Journal of Integer Sequences, Vol. 24, No. 2 (2021), Article 21.9.5.
FORMULA
Sum_{n>=1} 1/a(n) is in the interval (1.151956749, 1.4207187) (Wagstaff, 2021). - Amiram Eldar, Nov 04 2021
MATHEMATICA
Select[Prime[Range[2000]], PrimeQ[8# + 1]&] (* Vincenzo Librandi, Feb 02 2014 *)
PROG
(Magma) [ p: p in PrimesUpTo(1900) | IsPrime(8*p+1) ]; // Klaus Brockhaus, Dec 21 2008
(PARI) list(lim)=my(v=List()); forprime(p=2, lim, if(isprime(8*p+1), listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Oct 20 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved