The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A126702 a(n) = prime(!n), where !n is subfactorial n. 0
2, 3, 23, 193, 1697, 15907, 161773, 1777543, 21084257, 269475737, 3696588877, 54223012561, 847458120167, 14065357995331, 247134401977037, 4583801628003613, 89514011909036503, 1836054207193376321 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
a(n) = A000040(A000166(n)). - Amiram Eldar, Aug 27 2020
EXAMPLE
a(3) = 23,because !4 = 9 and the 9th prime is 23.
MATHEMATICA
Prime[Subfactorial[Range[2, 15]]] (* Harvey P. Dale, Nov 11 2011 *)
CROSSREFS
Sequence in context: A009180 A359840 A041459 * A260126 A260125 A020458
KEYWORD
nonn,hard,more
AUTHOR
Shyam Sunder Gupta, Feb 11 2007
EXTENSIONS
a(16)-a(19) using Kim Walisch's primecount, from Amiram Eldar, Aug 27 2020
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 June 8 09:36 EDT 2024. Contains 373217 sequences. (Running on oeis4.)