OFFSET
1,1
COMMENTS
Maple implementation: see A030513.
Numbers of the form p^26 (subset of A089081), p^2*q^2*r^2 (like 900, 1764, 4356, squares of A007304) or p^2*q^8 (like 2304, 6400, subset of the squares of A030628) where p, q and r are distinct primes. - R. J. Mathar, Mar 01 2010
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
A000005(a(n)) = 27.
Sum_{n>=1} 1/a(n) = (P(2)^3 + 2*P(6) - 3*P(2)*P(4))/6 + P(2)*P(8) - P(10) + P(26) = 0.00453941..., where P is the prime zeta function. - Amiram Eldar, Jul 03 2022
MATHEMATICA
Select[Range[150000], DivisorSigma[0, #]==27&] (* Vladimir Joseph Stephan Orlovsky, May 06 2011 *)
PROG
(PARI) isA137490(n) = numdiv(n)==27 \\ Michael B. Porter, Apr 10 2010
(Python)
from math import isqrt
from sympy import integer_nthroot, primerange, primepi
from oeis_sequences.OEISsequences import bisection
def A137490(n):
def f(x):
c = n+x
c += -sum(primepi(isqrt(x//(k*m)**2))-b for a, k in enumerate(primerange(integer_nthroot(x, 6)[0]+1), 1) for b, m in enumerate(primerange(k+1, integer_nthroot(x//(k*k), 4)[0]+1), a+1))
c += -sum(primepi(isqrt(x//p**8)) for p in primerange(integer_nthroot(x, 8)[0]+1))+primepi(integer_nthroot(x, 10)[0])
c += -primepi(integer_nthroot(x, 26)[0])
return int(c)
return bisection(f, n, n) # Chai Wah Wu, May 01 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
R. J. Mathar, Apr 22 2008
STATUS
approved
