OFFSET
0,1
REFERENCES
See A003415.
LINKS
Donovan Johnson, Table of n, a(n) for n = 0..200
FORMULA
a(n) is the least odd k such that A099302(k) = n.
PROG
(Python)
from itertools import count
from sympy import factorint
def A189560(n):
if n == 0:
return 3
mdict = {}
for k in count(1, 2):
c = 0
for m in range(1, (k**2>>2)+1):
if m not in mdict:
mdict[m] = sum((m*e//p for p, e in factorint(m).items()))
if mdict[m] == k:
c += 1
if c > n:
break
if c == n:
return k # Chai Wah Wu, Sep 12 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 24 2011
STATUS
approved