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!)
A160857 a(n) = Product_{prime r < m = prime(n)} m!/(m-r)!. 0
1, 6, 1200, 22226400, 10041430291200000, 1113268229944758372925440000, 591370140954797288796906892185462374400000000, 21844691101536229507290449088090992624418999145391456256000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(1) = 1 (empty product).
a(2) = 6 = 3!/1! as 3 = prime(2) and the only prime less than 3 is 2.
MAPLE
a:= n-> (m-> mul(`if`(isprime(r), m!/(m-r)!, 1), r=2..m-1))(ithprime(n)):
seq(a(n), n=1..8); # Alois P. Heinz, Mar 18 2021
MATHEMATICA
mpr[lst_]:=Module[{y=Last[lst], c}, c=y-Most[lst]; Times@@(y!/c!)]; Table[ mpr[ Prime[Range[n]]], {n, 10}] (* Harvey P. Dale, Mar 18 2021 *)
PROG
(PARI) a(n) = prod(i=1, n-1, prime(n)!/(prime(n)-prime(i))!); \\ Michel Marcus, Aug 11 2013
CROSSREFS
Cf. A000040.
Sequence in context: A185537 A113159 A159717 * A160005 A172923 A131675
KEYWORD
nonn
AUTHOR
Pratik Deoghare (psdeoghare(AT)gmail.com), May 28 2009
EXTENSIONS
Corrected by Harvey P. Dale, Mar 18 2021
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)