A371151 Numbers k >= 2 such that A362333(k)-A371148(k)/A371149(k) sets a new maximum.
2, 80, 224, 5632, 26624, 1114112, 2490368, 24117248
Offset: 1
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
For n = 12, gpf(n)! = 3! = 6 is not divisible by 12, but (3!)^2 = 36 is divisible by 12, so a(12) = 2.
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
For n = 80 = 2^4 * 3^0 * 5^1, gpf(80)! = 5! = 2^3 * 3^1 * 5^1. The ratios of the prime exponents are 4/3, 0/1, and 1/1, the greatest of which is 4/3, so a(80) = 4.
from sympy import factorint,Rational def A371148(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,Rational(f[p],v)) return a.p
Comments