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 A137488 #36 Feb 22 2025 18:11:30 %S A137488 1296,10000,38416,50625,194481,234256,456976,1185921,1336336,1500625, %T A137488 2085136,2313441,4477456,6765201,9150625,10556001,11316496,14776336, %U A137488 16777216,17850625,22667121,29986576,35153041,45212176,52200625 %N A137488 Numbers with 25 divisors. %C A137488 Maple implementation: see A030513. %C A137488 Numbers of the form p^24 (24th powers of A000040, subset of A010812) or p^4*q^4 (A189991), where p and q are distinct primes. - _R. J. Mathar_, Mar 01 2010 %H A137488 T. D. Noe, <a href="/A137488/b137488.txt">Table of n, a(n) for n = 1..1000</a> %F A137488 A000005(a(n)) = 25. %F A137488 Sum_{n>=1} 1/a(n) = (P(4)^2 - P(8))/2 + P(24) = 0.000933328..., where P is the prime zeta function. - _Amiram Eldar_, Jul 03 2022 %t A137488 lst = {}; Do[If[DivisorSigma[0, n] == 25, Print[n]; AppendTo[lst, n]], {n, 55000000}]; lst (* _Vladimir Joseph Stephan Orlovsky_, May 03 2011 *) %t A137488 Select[Range[5221*10^4],DivisorSigma[0,#]==25&] (* _Harvey P. Dale_, Mar 11 2019 *) %o A137488 (Haskell) %o A137488 a137488 n = a137488_list !! (n-1) %o A137488 a137488_list = m (map (^ 24) a000040_list) (map (^ 4) a006881_list) where %o A137488 m xs'@(x:xs) ys'@(y:ys) | x < y = x : m xs ys' %o A137488 | otherwise = y : m xs' ys %o A137488 -- _Reinhard Zumkeller_, Nov 29 2011 %o A137488 (PARI) is(n)=numdiv(n)==25 \\ _Charles R Greathouse IV_, Jun 19 2016 %o A137488 (Python) %o A137488 from math import isqrt %o A137488 from sympy import primepi, integer_nthroot, primerange %o A137488 def A137488(n): %o A137488 def bisection(f,kmin=0,kmax=1): %o A137488 while f(kmax) > kmax: kmax <<= 1 %o A137488 kmin = kmax >> 1 %o A137488 while kmax-kmin > 1: %o A137488 kmid = kmax+kmin>>1 %o A137488 if f(kmid) <= kmid: %o A137488 kmax = kmid %o A137488 else: %o A137488 kmin = kmid %o A137488 return kmax %o A137488 def f(x): return int(n+x+(t:=primepi(s:=isqrt(y:=integer_nthroot(x,4)[0])))+(t*(t-1)>>1)-sum(primepi(y//k) for k in primerange(1, s+1)))-primepi(integer_nthroot(x,24)[0]) %o A137488 return bisection(f,n,n) # _Chai Wah Wu_, Feb 22 2025 %Y A137488 Cf. A000005, A010812, A030513-A030516, A030626, A030627, A030634-A030638, A005179, A003680, A096932, A061286, A061283, A135581, A175755. %K A137488 nonn %O A137488 1,1 %A A137488 _R. J. Mathar_, Apr 22 2008