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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078778 Numbers n such that n!+1 is a semiprime. 5
4, 5, 6, 7, 8, 10, 13, 14, 19, 20, 24, 25, 26, 28, 34, 38, 48, 54, 55, 59, 71, 75, 92, 109 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Note that the two prime factors of 38!+1 = 523022617466601111760007224100074291200000001 = 14029308060317546154181 * 37280713718589679646221 both have 23 decimal digits. Are there any other terms in this sequence other than 4,5,7 and 38 with this property?

It is likely that 114 and 115 are the next terms. [Sean A. Irvine, Nov 15 2009]

LINKS

Table of n, a(n) for n=1..24.

EXAMPLE

4 is in the sequence because 4!+1=25=5*5 is semiprime. But 9 is not in the sequence because 9!+1=19*71*269 is not semiprime. [Sean A. Irvine, Nov 15 2009]

PROG

(PARI) { fp(a, b)=local(c, d, r); for(n=a, b, r=n!+1; c=vecmin(factor(r)[, 1]~); d=vecmax(factor(r)[, 1]~); if(bigomega(r)==2 && isprime(c) && isprime(d), print1(n" "); )) } fp(1, 100)

CROSSREFS

Cf. A001358, A082952, A090159, A090160, A078781.

Sequence in context: A121541 A182305 A023373 * A037356 A139199 A003666

Adjacent sequences:  A078775 A078776 A078777 * A078779 A078780 A078781

KEYWORD

more,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Jan 09 2003

EXTENSIONS

One more term (109) from Sean A. Irvine, Nov 15 2009

STATUS

approved

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 May 23 11:40 EDT 2013. Contains 225587 sequences.