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!)
A267897 a(n) = prime(n)! - prime(n). 0
0, 3, 115, 5033, 39916789, 6227020787, 355687428095983, 121645100408831981, 25852016738884976639977, 8841761993739701954543615999971, 8222838654177922817725562879999969, 13763753091226345046315979581580902399999963 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A039716(n) - A000040(n).
a(n) = A005096(A000040(n)).
MATHEMATICA
Array[Prime[#]! - Prime[#] &, 20]
PROG
(Magma) [Factorial(p)-p: p in PrimesUpTo(40)];
(PARI) lista(nn) = forprime(p=2, nn, print1(p! - p, ", ")); \\ Altug Alkan, Jan 23 2016
CROSSREFS
Sequence in context: A225334 A240441 A229929 * A132304 A097642 A009095
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 22 2016
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 October 4 09:13 EDT 2023. Contains 365873 sequences. (Running on oeis4.)