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!)
A075489 a(n) = prime((n+1)!) - prime(n!). 0

%I #18 Jun 27 2020 17:01:06

%S 1,10,76,570,4784,43590,435004,4738392,55972218,713630736,9777359856,

%T 143350864898,2240419421284,37194276947898,653800845663788,

%U 12132997533521320,237076055569553246,4865738414759433466,104661156692004606078,2354571975178917773640

%N a(n) = prime((n+1)!) - prime(n!).

%F a(n) = A062439(n+1) - A062439(n). - _Jinyuan Wang_, Jun 27 2020

%e n=5: a(5) = prime(720) - prime(120) = 5443 - 659 = 4784.

%t Table[Prime[(n + 1)! ] - Prime[n! ], {n, 1, 10}] (* _Stefan Steinerberger_, Apr 10 2006 *)

%t #[[2]]-#[[1]]&/@Partition[Prime/@(Range[15]!),2,1](* _Harvey P. Dale_, Jul 07 2019 *)

%Y Cf. A000040, A000142, A062439.

%K nonn,more

%O 1,2

%A _Labos Elemer_, Sep 26 2002

%E Definition corrected by _Stefan Steinerberger_, Apr 10 2006

%E a(15)-a(18) from _Giovanni Resta_, Jul 08 2019

%E a(19)-a(20) from _Jinyuan Wang_, Jun 27 2020

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 5 01:52 EDT 2024. Contains 372257 sequences. (Running on oeis4.)