login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154525 Primes p such that lcm(1,2,3,...,p-2,p-1,p) + 1 is prime. 2
2, 3, 5, 7, 19, 31, 47, 89, 127, 139, 2251, 3271, 4253, 4373, 4549, 5449, 13331, 37123, 55291 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..19.

FORMULA

A049537 INTERSECT A000040. - Ray Chandler, Jan 16 2009

MATHEMATICA

Select[Range[1000], PrimeQ[#] && PrimeQ[LCM@@Range[#]+1] &] (* Amiram Eldar, Nov 21 2018 *)

PROG

(PARI) isok(p) = isprime(p) && (isprime(lcm(vector(p, i, i)) + 1)); \\ Michel Marcus, Oct 26 2013, Feb 25 2014

CROSSREFS

Cf. A056604, A154524, A154526.

Sequence in context: A184902 A048419 A087562 * A288717 A144561 A215156

Adjacent sequences:  A154522 A154523 A154524 * A154526 A154527 A154528

KEYWORD

nonn

AUTHOR

Lekraj Beedassy, Jan 11 2009

EXTENSIONS

a(1)=2 inserted and a(8)-a(18) from Ray Chandler, Jan 16 2009

a(19) from Daniel Suteu, Nov 21 2018

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 20 12:23 EST 2019. Contains 319330 sequences. (Running on oeis4.)