OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
n = 6 has 4 divisors, prime(4) = 7, so a(6) = 7.
MATHEMATICA
Prime[DivisorSigma[0, Range[90]]] (* Harvey P. Dale, Jul 27 2011 *)
PROG
(PARI) d(n) = for(x=1, n, print1(prime(numdiv(x))", "))
(Python)
from sympy import prime, divisor_count
def a(n): return prime(divisor_count(n)) # Indranil Ghosh, May 25 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, May 03 2005
STATUS
approved