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!)
A055770 Largest factorial number which divides n. 3
1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 24, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 24, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 24, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 24, 1, 2, 1, 2, 1, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Largest m! which divides n.
LINKS
Tyler Ball, Joanne Beckford, Paul Dalenberg, Tom Edgar, Tina Rajabi, Some Combinatorics of Factorial Base Representations, J. Int. Seq., Vol. 23 (2020), Article 20.3.3.
FORMULA
a(n) = A000142(A055881(n)). - Antti Karttunen, Dec 19 2018
EXAMPLE
3! = 6 divides 12, so a(12) = 6.
MATHEMATICA
With[{rf=Reverse[Range[7]!]}, Table[SelectFirst[rf, Divisible[n, #]&], {n, 120}]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 05 2017 *)
PROG
(PARI) A055770(n) = { my(m=1, i=2); while(!(n%m), m *= i; i++); return(m/(i-1)); } \\ Antti Karttunen, Dec 19 2018
CROSSREFS
Cf. A000142, A055881 (values of the m's), A055926, A055874, A073575.
Cf. also A053589.
Sequence in context: A356158 A071416 A053589 * A225821 A368777 A113766
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Jul 12 2000
EXTENSIONS
Name changed, old name moved to comments by Antti Karttunen, Dec 19 2018
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 18 07:55 EDT 2024. Contains 371769 sequences. (Running on oeis4.)