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!)
A366280 Lexicographically earliest infinite sequence such that a(i) = a(j) => A366279(i) = A366279(j) for all i, j >= 0. 3
1, 2, 3, 2, 4, 3, 5, 2, 6, 4, 7, 5, 7, 3, 5, 2, 8, 6, 9, 7, 10, 7, 11, 5, 9, 4, 7, 5, 7, 3, 5, 2, 12, 8, 13, 9, 14, 10, 15, 7, 14, 9, 15, 11, 15, 7, 11, 5, 13, 6, 9, 7, 10, 7, 11, 5, 9, 4, 7, 5, 7, 3, 5, 2, 16, 12, 17, 13, 18, 14, 19, 9, 20, 14, 21, 15, 21, 10, 15, 7, 18, 13, 19, 15, 21, 15, 22, 11, 19, 9, 15, 11, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Restricted growth sequence transform of A366279.
For all i, j >= 0, a(i) = a(j) => A290251(i) = A290251(j).
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; };
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); };
A030101(n) = if(n<1, 0, subst(Polrev(binary(n)), x, 2));
A057889(n) = if(!n, n, A030101(n/(2^valuation(n, 2))) * (2^valuation(n, 2)));
A163511(n) = if(!n, 1, my(p=2, t=1); while(n>1, if(!(n%2), (t*=p), p=nextprime(1+p)); n >>= 1); (t*p));
v366280 = rgs_transform(vector(1+up_to, n, A366279(n-1)));
A366280(n) = v366280[1+n];
CROSSREFS
Cf. also A286531, A286602, A366262.
Sequence in context: A351452 A351454 A351460 * A317765 A318153 A157893
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Oct 06 2023
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 July 14 20:49 EDT 2024. Contains 374323 sequences. (Running on oeis4.)