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!)
A096074 Prime(n)!/composite(n)!. 1
11, 13, 4080, 93024, 1235591280, 1381013105472000, 3379847863392000, 269397128065642536960000, 29762015082771948783206400000, 97373549346895180258099200000, 16673311804088600473666429255680000 (list; graph; refs; listen; history; text; internal format)
OFFSET
5,1
COMMENTS
For n < 5 the result is not an integer, so the offset is taken to be 5.
LINKS
EXAMPLE
a(7) = prime(7)!/composite(7)! = 17!/14! = 4080.
MATHEMATICA
Module[{nn=30, pr, co, len}, pr=Prime[Range[nn]]; co=Complement[Range[ 2, nn], pr]; len=Min[Length[pr], Length[co]]; #[[1]]!/#[[2]]!&/@Drop[ Thread[ {Take[ pr, len], Take[co, len]}], 4]] (* Harvey P. Dale, Apr 20 2014 *)
PROG
(PARI) composite(n)=local(k); k=1; while(n>0, if(!isprime(k+1), n--); k++); k
for(n=5, 15, print1(prime(n)!/composite(n)!, ", "))
CROSSREFS
Sequence in context: A174831 A343838 A360388 * A288611 A068837 A246627
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jun 20 2004
EXTENSIONS
Edited and extended by Klaus Brockhaus, Jun 21 2004
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 April 18 09:20 EDT 2024. Contains 371769 sequences. (Running on oeis4.)