cp's OEIS Frontend

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.

A188902 Numerator of the base n logarithm of the product of the divisors of n.

This page as a plain text file.
%I A188902 #32 Jun 26 2025 14:31:49
%S A188902 1,1,3,1,2,1,2,3,2,1,3,1,2,2,5,1,3,1,3,2,2,1,4,3,2,2,3,1,4,1,3,2,2,2,
%T A188902 9,1,2,2,4,1,4,1,3,3,2,1,5,3,3,2,3,1,4,2,4,2,2,1,6,1,2,3,7,2,4,1,3,2,
%U A188902 4,1,6,1,2,3,3,2
%N A188902 Numerator of the base n logarithm of the product of the divisors of n.
%C A188902 Obviously the product of divisors of n (see A007955) is a multiple of n. But often it is also a perfect power of n, a number of the form n^m with m an integer. But if n is a perfect square (A000290), then the logarithm is a rational number but not an integer.
%C A188902 a(1) is of course indeterminate since it can be any value desired, whether real, imaginary or complex.
%C A188902 The denominator is A010052(n) + 1.
%H A188902 Antti Karttunen, <a href="/A188902/b188902.txt">Table of n, a(n) for n = 2..10000</a>
%F A188902 a(n) = numerator(A000005(n)/2).
%F A188902 a(n) = (A038548(n) + A056924(n)) / 2 for n > 1.
%t A188902 Numerator[Table[FullSimplify[Log[n, Times@@Divisors[n]]], {n, 2, 75}]]
%o A188902 (PARI) A188902(n) = numerator(numdiv(n)/2); \\ _Antti Karttunen_, May 27 2017
%o A188902 (Python)
%o A188902 from sympy import divisor_count, Integer
%o A188902 def a(n): return (divisor_count(n) / 2).numerator
%o A188902 print([a(n) for n in range(2, 51)])  # _Indranil Ghosh_, May 27 2017
%Y A188902 Cf. A000005, A007955, A007956, A038548, A056924, A010052.
%K A188902 nonn,easy,frac
%O A188902 2,3
%A A188902 _Alonso del Arte_, Apr 19 2011