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!)
A362333 Least nonnegative integer k such that (gpf(n)!)^k is divisible by n, where gpf(n) is the greatest prime factor of n. 5
0, 1, 1, 2, 1, 1, 1, 3, 2, 1, 1, 2, 1, 1, 1, 4, 1, 2, 1, 1, 1, 1, 1, 3, 2, 1, 3, 1, 1, 1, 1, 5, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 4, 2, 2, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 1, 2, 4, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
First differs from A088388 at n = 40.
LINKS
FORMULA
a(n) > 1 if and only if n is in A057109.
a(n) <= A051903(n).
a(n) = ceiling(A371148(n)/A371149(n)). - Pontus von Brömssen, Mar 16 2024
EXAMPLE
For n = 12, gpf(n)! = 3! = 6 is not divisible by 12, but (3!)^2 = 36 is divisible by 12, so a(12) = 2.
PROG
(Python)
from sympy import factorint
def A362333(n):
f = factorint(n)
gpf = max(f, default=None)
a = 0
for p in f:
m = gpf
v = 0
while m >= p:
m //= p
v += m
a = max(a, -(-f[p]//v))
return a
CROSSREFS
Sequence in context: A302045 A302035 A307907 * A371148 A088388 A070013
KEYWORD
nonn
AUTHOR
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 12 00:47 EDT 2024. Contains 372431 sequences. (Running on oeis4.)