OFFSET
0,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..4257 (computed using A. Flammenkamp's 779674-term HCN dataset; terms 0..329 from Antti Karttunen)
PROG
(PARI) A330748(n) = { for(k=1, #v112778, if(v112778[k]==n, return(k))); -(1/0); };
(PARI)
v329902 = readvec("a329902.txt"); \\ File for the first 779674 terms of A329902
A056239(n) = if(1==n, 0, my(f=factor(n)); sum(i=1, #f~, f[i, 2] * primepi(f[i, 1])));
A330748list() = { my(m=Map(), lista=List([]), t); for(i=1, #v329902, t = A056239(v329902[i]); if(!mapisdefined(m, t), mapput(m, t, i))); for(n=0, oo, if(mapisdefined(m, n, &t), listput(lista, t), return(Vec(lista)))); };
v330748 = A330748list();
A330748(n) = v330748[1+n];
for(n=0, #v330748-1, write("b330748.txt", n, " ", A330748(n))); \\ Antti Karttunen, Jan 13 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, suggested by M. F. Hasler, Jan 10 2020
STATUS
approved