[go: up one dir, main page]

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!)
A056044 Let k be the largest number such that k^2 divides n! and let m be the largest number such that m!^2 divides n!; a(n) = k/m!. 3
1, 1, 1, 1, 1, 2, 2, 1, 3, 1, 1, 2, 2, 2, 6, 3, 3, 2, 2, 2, 2, 2, 2, 2, 10, 10, 30, 2, 2, 12, 12, 3, 3, 6, 30, 10, 10, 10, 30, 6, 6, 2, 2, 2, 30, 60, 60, 30, 210, 42, 42, 42, 42, 1, 1, 2, 2, 4, 4, 4, 4, 4, 84, 21, 21, 14, 14, 14, 42, 6, 6, 2, 2, 2, 10, 10, 70, 140, 140, 14, 126, 3, 3, 6, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
a(n) = A000188(n!)/A056038(n).
EXAMPLE
For n = 11, 11! = 6! * 6! * 77, so A000188(11!) = A056038(11) = 6! and a(11) = 6!/6! = 1.
MATHEMATICA
f[p_, e_] := p^Floor[e/2]; b[1] = 1; b[n_] := Times @@ f @@@ FactorInteger[n!];
c[n_] := Module[{k = 1}, NestWhile[#/(++k)^2 &, n!, IntegerQ]; (k-1)!];
a[n_] := b[n] / c[n]; Array[a, 100] (* Amiram Eldar, May 24 2024 *)
CROSSREFS
Sequence in context: A116687 A264033 A236293 * A236097 A239319 A236468
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 25 2000
EXTENSIONS
Name corrected by Amiram Eldar, May 24 2024
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 August 29 21:13 EDT 2024. Contains 375518 sequences. (Running on oeis4.)