login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A336933 Lexicographically earliest infinite sequence such that a(i) = a(j) => A007733(i) = A007733(j), for all i, j >= 1. 4
1, 1, 2, 1, 3, 2, 4, 1, 5, 3, 6, 2, 7, 4, 3, 1, 8, 5, 9, 3, 5, 6, 10, 2, 11, 7, 9, 4, 12, 3, 13, 1, 6, 8, 7, 5, 14, 9, 7, 3, 11, 5, 15, 6, 7, 10, 16, 2, 17, 11, 8, 7, 18, 9, 11, 4, 9, 12, 19, 3, 20, 13, 5, 1, 7, 6, 21, 8, 22, 7, 23, 5, 24, 14, 11, 9, 25, 7, 26, 3, 27, 11, 28, 5, 8, 15, 12, 6, 10, 7, 7, 10, 6, 16, 14, 2, 29, 17, 25, 11, 30, 8, 31, 7, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Restricted growth sequence transform of A007733.
LINKS
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; };
A007733(n) = znorder(Mod(2, n/2^valuation(n, 2))); \\ From A007733
v336933 = rgs_transform(vector(up_to, n, A007733(n)));
A336933(n) = v336933[n];
CROSSREFS
Sequence in context: A336920 A365395 A366792 * A336460 A108712 A351037
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 10 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 08:59 EDT 2024. Contains 371268 sequences. (Running on oeis4.)