A291373 a(n) is the smallest number k such that A001065(k) = A002110(n), or 0 if no such k exists.
2, 0, 6, 841, 0, 1722, 30018, 0
Offset: 0
Examples
a(5) = 1722 because sigma(1722) - 1722 = 2*3*5*7*11 = A002110(5) and 1722 is the least number with this property.
Formula
Extensions
a(7) confirmed by Giovanni Resta, Aug 23 2017
Comments