login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154663 Numbers n such that n!-+767 are primes. 2
3, 5, 6, 7, 10, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Next term is larger than 240

LINKS

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

MATHEMATICA

lst={}; a=767; Do[If[PrimeQ[n!-a]&&PrimeQ[n!+a], AppendTo[lst, n]], {n, 2*5!}]; lst

Select[Range[15], AllTrue[#!+{767, -767}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Dec 13 2014 *)

CROSSREFS

Cf. A144046, A154660, A154661, A154662

Sequence in context: A124194 A055597 A053048 * A028983 A232682 A335657

Adjacent sequences:  A154660 A154661 A154662 * A154664 A154665 A154666

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Jan 13 2009

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 July 28 14:19 EDT 2021. Contains 346335 sequences. (Running on oeis4.)