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!)
A076232 a(n) = prime(1+n!) - prime(n!). 0
1, 2, 4, 8, 2, 6, 4, 24, 18, 86, 54, 18, 22, 48, 12, 10, 56, 10, 8, 12, 24 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

a(n) = A001223(n!). - Michel Marcus, Aug 24 2019

MATHEMATICA

Table[Prime[n! + 1] - Prime[n!], {n, 10}] (* Wesley Ivan Hurt, Aug 24 2019 *)

PROG

(PARI) a(n) = prime(1+n!) - prime(n!); \\ Michel Marcus, Aug 24 2019

(PARI) a(n) = my(p=prime(n!)); nextprime(p+1) - p; \\ Michel Marcus, Aug 24 2019

CROSSREFS

Cf. A000040, A000142, A001223, A062439.

Sequence in context: A167420 A195711 A200610 * A011032 A174660 A064897

Adjacent sequences:  A076229 A076230 A076231 * A076233 A076234 A076235

KEYWORD

nonn,more

AUTHOR

Labos Elemer, Oct 03 2002

EXTENSIONS

a(16)-a(21) from Michel Marcus, Aug 24 2019

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 May 17 06:30 EDT 2021. Contains 343965 sequences. (Running on oeis4.)