login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A362056
Prime numbers of the form prime(k)! - prime(k!).
0
3, 107, 4951, 39916141, 355687428046967
OFFSET
1,1
COMMENTS
No other terms < prime(22)! - prime(22!) (using A062439).
Problem suggested by Carlos Rivera as a follow-on to Puzzle 1127 (see links).
LINKS
Carlos Rivera, Puzzle 1127. Prime(11!)+Prime(11)!, The Prime Puzzles and Problems Connection.
Carlos Rivera, Puzzle 1128. Prime(n)!-Prime(n!), The Prime Puzzles and Problems Connection.
FORMULA
EXAMPLE
prime(2)! - prime(2!) = 3 is prime.
prime(3)! - prime(3!) = 107 is prime.
prime(4)! - prime(4!) = 4951 is prime.
prime(5)! - prime(5!) = 39916141 is prime.
prime(7)! - prime(7!) = 355687428046967 is prime.
CROSSREFS
Prime terms in A261997.
Sequence in context: A003705 A146214 A261997 * A061308 A302060 A336438
KEYWORD
nonn,hard,more
AUTHOR
Michael S. Branicky, Apr 06 2023
STATUS
approved