OFFSET
4,1
COMMENTS
Conjecture: a(n) exists for every n >= 4.
EXAMPLE
For n=11, a(11)=28 because 28 is composite, the factors of 28=2*2*7 are (2,2,7 with multiplicity), and their sum is 11. The composite numbers 40,48,and 54 have the same sum of factors, but we take the smallest > a(10)=21, that is, 28.
PROG
(PARI) {
k=4;
for(n=1, 10000,
if(!isprime(n),
f=factor(n);
s=sum(i=1, matsize(f)[1], f[i, 1]*f[i, 2]);
if(s==k,
print1(n", ")
; k++
)
)
)
}
CROSSREFS
KEYWORD
nonn
AUTHOR
Dimitris Valianatos, Jan 12 2017
STATUS
approved