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!)
A182254 Primorial(n) mod n! 1
0, 0, 0, 0, 18, 30, 510, 1470, 22890, 284550, 3171630, 18486930, 45347610, 4254260010, 2349577230, 371965003410, 9252750236730, 190224835871070, 221717289063270, 14855058367239090, 1662934646118135390, 45974266913148043470, 4510191947325194130 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
a(n) mod 6 = 0 and a(n) mod 30 = 0, n<>4. - Gary Detlefs, May 02 2012
LINKS
FORMULA
a(n) = A002110(n) mod A000142(n)
EXAMPLE
a(5) = (2*3*5*7*11) mod (1*2*3*4*5) = 2310 mod 120 = 30
MATHEMATICA
primorial[n_] := Product[Prime[i], {i, n}]; Table[Mod[primorial[n], n!], {n, 0, 30}] (* T. D. Noe, Apr 21 2012 *)
With[{nn=30}, Join[{0}, Mod[#[[2]], #[[1]]]&/@Transpose[{Range[nn]!, FoldList[ Times, Prime[Range[nn]]]}]]] (* Harvey P. Dale, May 26 2016 *)
CROSSREFS
Sequence in context: A091896 A101140 A287683 * A305220 A316798 A070744
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Apr 21 2012
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 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)