OFFSET
1,2
COMMENTS
LINKS
PROG
(PARI) up_to = 16384;
ordinal_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), pt); for(i=1, length(invec), if(mapisdefined(om, invec[i]), pt = mapget(om, invec[i]), pt = 0); outvec[i] = (1+pt); mapput(om, invec[i], (1+pt))); outvec; };
A318310aux(n) = [hammingweight(n), (2*n) - sigma(n)];
v331184 = ordinal_transform(vector(up_to, n, A318310aux(n)));
A331184(n) = v331184[n];
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 12 2020
STATUS
approved