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”).

A178607
Largest prime < n!! (double factorial of n).
1
2, 7, 13, 47, 103, 383, 941, 3833, 10391, 46073, 135131, 645097, 2027023, 10321919, 34459423, 185794463, 654729073, 3715891181, 13749310511, 81749606383, 316234143163, 1961990553581, 7905853580621, 51011754393599
OFFSET
3,1
LINKS
FORMULA
a(n) = A151799(A006882(n)). - R. J. Mathar, Jun 23 2010
MATHEMATICA
PrimePrev[n_]:=Module[{k}, k=n-1; While[ !PrimeQ[k], k-- ]; k]; Table[PrimePrev[n!! ], {n, 3, 40}]
NextPrime[#, -1]&/@(Range[3, 30]!!) (* Harvey P. Dale, Jul 13 2015 *)
PROG
(PARI) a(n)=if(n<2, 1, n*a(n-2)); for(n=3, 26, print1(precprime(a(n)-1)", ")); \\ Graziano Aglietti (mg5055(AT)mclink.it), Aug 23 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by R. J. Mathar, Jun 23 2010
STATUS
approved