login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100015 Subfactorial primes: primes of the form !n + 1 or !n - 1. Subfactorial or rencontres numbers or derangements !n = A000166. 2
2, 3, 43, 481066515733, 130850092279663 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

REFERENCES

R. A. Brualdi and H. J. Ryser: Combinatorial Matrix Theory, 1992, Section 7.2, p. 202.

H. J. Ryser, Combinatorial Mathematics. Mathematical Association of America, Carus Mathematical Monograph 14, 1963, p. 23. [J. V. Post was a student of Herbert John Ryser (1923-1985) at Caltech.]

LINKS

R. M. Dickau, Derangement diagrams.

H. Fripertinger, The Recontre Numbers, an online calculator.

Mehdi Hassani, Derangements and Applications, Journal of Integer Sequences, Vol. 6 (2003), #03.1.2

FORMULA

a(0) = 2 because !0 + 1 = 2.

EXAMPLE

a(5) = 130850092279663 because the 5+1 = 6th subfactorial prime is !17 - 1 = 130850092279664 - 1 = 130850092279663, which is prime. a(0) = a(1) = 2 because !0 = !2 = 1, so !0 + 1 = !2 + 1 = 2.

CROSSREFS

Cf. A000166.

Sequence in context: A162712 A062581 A077520 * A042819 A100443 A060415

Adjacent sequences:  A100012 A100013 A100014 * A100016 A100017 A100018

KEYWORD

nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Nov 18 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 17:11 EST 2012. Contains 205938 sequences.