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!)
A180492 Product of remainders of prime(n) mod k, for k = 2,3,4,...,prime(n)-1 2
1, 1, 2, 6, 720, 2160, 2419200, 65318400, 754427520000, 32953394073600000, 311409573995520000, 37269497815783833600000, 7890485108998805913600000000, 1096106738916569123487744000000, 4067286739206415827555188736000000000, 7924734685010508814047938347008000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Nonzero entries in A180491. Note that this sequence, while increasing in general, is not strictly increasing.
a(n) is divisible by (n-1)!. - Robert G. Wilson v, Sep 09 2010
LINKS
EXAMPLE
Since prime(4) = 7, a(4) = (7 mod 2) * (7 mod 3) * (7 mod 4) * (7 mod 5) * (7 mod 6) = 1 * 1 * 3 * 2 * 1 = 6.
MAPLE
a:= n-> (p-> mul(irem(p, k), k=2..p-1))(ithprime(n)):
seq(a(n), n=1..17); # Alois P. Heinz, Jul 16 2022
MATHEMATICA
f[n_]:=Times@@(Mod[n, # ]&/@ Range[2, n-1]); Table[f[Prime[i]], {i, 20}] (* Harvey P. Dale, Sep 18 2010 *)
f[n_] := Times @@ Mod[n, Range[2, n - 1]]; Table[ f@ Prime@ n, {n, 10}] (* Robert G. Wilson v, Sep 09 2010 *)
CROSSREFS
Sequence in context: A110795 A179860 A067107 * A169661 A047690 A113569
KEYWORD
nonn
AUTHOR
Carl R. White, Sep 08 2010
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 23 09:45 EDT 2024. Contains 371905 sequences. (Running on oeis4.)