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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A235392 Primes of the form (p! + q!)/ p!  where p=  prime(k) and q=  prime(k+1), in order of increasing k. 1
43, 157, 19183, 22651, 37057, 121453, 7923366007441921, 4496830293424385744456428801, 45045561823582321, 412807, 49907098805169447878401, 34672666242568358583785606401, 1041421 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The 6th term has 6 digits;  the 44th term has 44 digits.

The 685th term has 349 digits.

LINKS

K. D. Bajpai, Table of n, a(n) for n = 1..1000

EXAMPLE

43 is in the sequence because (5! + 7!)/ 5! = (120 + 5040)/120 = 43 which is prime and 5 and 7 are consecutive primes.

157 is in the sequence because (11! + 13!)/ 11! = (39916800 + 6227020800)/ 39916800 = 157 which is prime and 11 and 13 are consecutive primes.

MAPLE

KD := proc() local a, b, d; a:=ithprime(n); b:=ithprime(n+1); d:=(a! + b!)/ a!; if isprime(d) then RETURN (d); fi; end: seq(KD(), n=1..300);

MATHEMATICA

Select[((#[[1]]!+#[[2]]!)/#[[1]]!&/@Partition[Prime[Range[ 300]], 2, 1]), PrimeQ] (* Harvey P. Dale, Mar 07 2019 *)

CROSSREFS

Cf. A000040 (prime numbers).

Cf. A100858 (primes:(p-1)! + p).

Sequence in context: A142573 A142691 A200845 * A078852 A078956 A206399

Adjacent sequences:  A235389 A235390 A235391 * A235393 A235394 A235395

KEYWORD

nonn

AUTHOR

K. D. Bajpai, Jan 09 2014

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 December 8 17:01 EST 2021. Contains 349596 sequences. (Running on oeis4.)