OFFSET
1,5
COMMENTS
n is the a(n)-th positive integer having value A266475(n).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
MAPLE
g:= n-> ((l-> add(l[j]+j-1, j=1..nops(l)))(sort([seq(
numtheory[pi](i[1])$i[2], i=ifactors(n)[2])]))):
b:= proc() 0 end:
a:= proc(n) option remember; local t;
t:= g(n); b(t):= b(t)+1
end:
seq(a(n), n=1..100);
MATHEMATICA
g[n_] := Function[l, Sum[l[[j]]+j-1, {j, 1, Length[l]}]][Sort[ Flatten[ Table[ Array[ PrimePi[i[[1]]]&, i[[2]]], {i, FactorInteger[n]}]]]];
b[_] = 0;
a[n_] := a[n] = With[{t = g[n]}, b[t] = b[t]+1];
Table[a[n], {n, 1, 100}] (* Jean-François Alcover, Dec 23 2021, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Alois P. Heinz, Dec 29 2015
STATUS
approved