The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A345940 Factorial of the largest prime factor of n, read modulo n: a(n) = A006530(n)! mod n. 2
0, 0, 0, 2, 0, 0, 0, 2, 6, 0, 0, 6, 0, 0, 0, 2, 0, 6, 0, 0, 0, 0, 0, 6, 20, 0, 6, 0, 0, 0, 0, 2, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, 0, 6, 42, 20, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 45, 0, 0, 0, 0, 40, 6, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, 0, 0, 6, 0, 42, 0, 20 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A000142(A006530(n)) modulo n.
MATHEMATICA
Table[Mod[First@Last@FactorInteger[n]!, n], {n, 100}] (* Giorgos Kalogeropoulos, Jul 04 2021 *)
PROG
(PARI)
A006530(n) = if(1==n, n, my(f=factor(n)); f[#f~, 1]);
A345940(n) = ((A006530(n)!)%n);
CROSSREFS
Cf. A000142, A006530, A057109 (positions of nonzero terms), A345951.
Sequence in context: A153587 A320437 A059286 * A076998 A173956 A306078
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Jul 04 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 May 20 12:27 EDT 2024. Contains 372712 sequences. (Running on oeis4.)