OFFSET
1,2
COMMENTS
Sequence of numbers from A145899.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
EXAMPLE
a(6) = 168 because 168 is the smallest value of sigma(k) for n = 6 positive integers k such that sigma(k) = 168 has solution; k = 60, 78, 92, 123, 143, 167.
PROG
(PARI) list(len) = {my(v = vector(len), k = 1, c = 0, i); while(c < len, i = invsigmaNum(k); for(j = 1, i, if(j <= len && v[j] == 0, v[j] = k; c++)); k++); v; } \\ Amiram Eldar, Dec 15 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Feb 03 2012
STATUS
approved