
1, 1, 2, 1, 3, 4, 5, 1, 6, 7, 8, 9, 3, 10, 11, 1, 12, 13, 14, 7, 15, 16, 17, 18, 19, 7, 17, 20, 6, 21, 22, 1, 23, 24, 25, 6, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 9, 30, 19, 37, 7, 15, 38, 39, 40, 41, 42, 14, 43, 41, 44, 22, 1, 45, 46, 47, 24, 48, 49, 50, 13, 51, 52, 53, 54, 55, 56, 57, 7, 58, 59, 60, 61, 62, 63, 64, 33, 65, 66, 67, 68, 69, 70, 71, 18, 69, 30, 72, 19
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


COMMENTS

Restricted growth sequence transform of the ordered pair [A009194(n), A323901(n)].


LINKS



FORMULA

a(2^n) = 1 for all n >= 0.


PROG

(PARI)
up_to = 65537;
rgs_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(om, invec[i]), my(pp = mapget(om, invec[i])); outvec[i] = outvec[pp] , mapput(om, invec[i], i); outvec[i] = u; u++ )); outvec; };
v331744 = rgs_transform(vector(up_to, n, Aux331744(n)));


CROSSREFS



KEYWORD

nonn


AUTHOR



STATUS

approved

