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.
%I A280363 #15 Feb 16 2025 08:33:39 %S A280363 0,1,1,2,1,2,1,3,2,3,1,3,1,3,2,4,1,4,1,4,2,4,1,4,2,4,3,4,1,4,1,5,3,5, %T A280363 2,5,1,5,3,5,1,5,1,5,3,5,1,5,2,5,3,5,1,5,2,5,3,5,1,5,1,5,3,6,2,6,1,6, %U A280363 3,6,1,6,1,6,3,6,2,6,1,6,4,6,1,6,2,6,4,6,1,6,2,6,4,6,2,6,1,6,4,6,1,6,1,6,4,6,1,6,1,6,4,6,1,6,2,6,4,6,2,6 %N A280363 a(n) = floor(log_p(n)) where p = A020639(n), i.e., the least prime factor of n. %C A280363 a(1) = 0 since 1 is the empty product. %C A280363 a(p) = 1 since the exponent e of the largest power p^e of the prime divisor p is p^1 (i.e., p itself). %C A280363 a(p^m) = m since the largest power p^e of the prime divisor p is p^m, (p^m itself), i.e., e = m. %C A280363 a(n) is the greatest value of the power e of p^e across the prime divisors p of n such that p^e <= n. %C A280363 Consider integers 1<=r<=n with all prime divisors p of r also dividing n. Let m be the smallest power n^m | r, and let e be the largest value of m across 1<=r<=n. This is A280274(n). This sequence underlies A280274: A280274(1) = 0, A280274(n) = 1 with n having omega(n) = 1. A280274(n) = a(n) for squarefree n. A280274(n) for all other n is ceiling(a(n)/k), with k being the multiplicity of p = A020639(n) in the prime decomposition of n. %H A280363 Michael De Vlieger, <a href="/A280363/b280363.txt">Table of n, a(n) for n = 1..10000</a> %H A280363 Eric W. Weisstein World of Mathematics, <a href="https://mathworld.wolfram.com/LeastPrimeFactor.html">Least Prime Factor</a> %e A280363 a(10) = 3, because 2^3 = 8 and 5^1 = 5 are less than 10 = 2*5, and of the multiplicities of these numbers, 3 is the greatest. %e A280363 a(12) = 3, because 2^3 = 8 and 3^2 = 9 are less than 12 = 2*2*3, and of the multiplicities of these numbers, 3 is the greatest. %e A280363 a(16) = 4, because 2^4 = 16 = n, and is the largest power of the distinct prime divisor 2 of 16. %t A280363 Table[If[n == 1, 0, Floor[Log[FactorInteger[n][[1, 1]], n]]], {n, 120}] %o A280363 (PARI) a(n) = if (n==1, 0, logint(n, vecmin(factor(n)[,1]))); \\ _Michel Marcus_, Jan 01 2017 %Y A280363 Cf. A020639, A007947, A280274. %K A280363 nonn,easy %O A280363 1,4 %A A280363 _Michael De Vlieger_, Jan 01 2017