The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062404 Numbers k such that 2*k*prime(k) + 1 is prime. 1
1, 2, 3, 6, 7, 11, 16, 21, 24, 27, 29, 30, 33, 40, 43, 49, 50, 51, 54, 59, 60, 68, 76, 78, 90, 93, 95, 103, 120, 125, 131, 134, 139, 156, 159, 162, 168, 178, 180, 188, 189, 196, 198, 214, 225, 231, 237, 241, 243, 246, 255, 259, 268, 273, 275, 277, 280, 285, 287, 288 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
2*3*prime(3) + 1 = 2 * 3 * 5 + 1 = 31 a prime.
MAPLE
select(i->isprime(2*i*ithprime(i)+1), [$1..300]); # Muniru A Asiru, Jun 29 2018
MATHEMATICA
Select[Range[300], PrimeQ[2# Prime[#]+1]&] (* Harvey P. Dale, Sep 12 2014 *)
PROG
(PARI) select(k->isprime(2*k*prime(k)+1), [1..700])
(Magma) [n: n in [1..300] |IsPrime(2*n*NthPrime(n) + 1)]; // Vincenzo Librandi, Jun 29 2018
CROSSREFS
Sequence in context: A096578 A027754 A092857 * A032875 A032842 A023773
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 08 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 07:28 EDT 2024. Contains 372760 sequences. (Running on oeis4.)