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!)
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
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
Sequence in context: A167420 A195711 A200610 * A011032 A174660 A064897
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)