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!)
A336393 Lexicographically earliest infinite sequence such that a(i) = a(j) => A336467(i) = A336467(j) and A278221(A000265(i)) = A278221(A000265(j)), for all i, j >= 1. 3
1, 1, 2, 1, 3, 2, 4, 1, 2, 3, 5, 2, 6, 4, 7, 1, 8, 2, 9, 3, 10, 5, 11, 2, 12, 6, 2, 4, 13, 7, 14, 1, 15, 8, 16, 2, 17, 9, 18, 3, 19, 10, 20, 5, 7, 11, 21, 2, 4, 12, 22, 6, 23, 2, 24, 4, 25, 13, 26, 7, 27, 14, 10, 1, 28, 15, 29, 8, 30, 16, 31, 2, 32, 17, 33, 9, 34, 18, 35, 3, 2, 19, 36, 10, 37, 20, 38, 5, 39, 7, 18, 11, 40, 21, 41, 2, 42, 4, 15, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Restricted growth sequence transform of the ordered pair [A336467(n), A278221(A000265(n))], or equally, of the ordered pair [A336467(n), A336395(n)].
For all i, j:
A324400(i) = A324400(j) => A003602(i) = A003602(j) => a(i) = a(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; };
A000265(n) = (n>>valuation(n, 2));
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ From A046523
A122111(n) = if(1==n, n, my(f=factor(n), es=Vecrev(f[, 2]), is=concat(apply(primepi, Vecrev(f[, 1])), [0]), pri=0, m=1); for(i=1, #es, pri += es[i]; m *= prime(pri)^(is[i]-is[1+i])); (m));
A336467(n) = { my(f=factor(n)); prod(k=1, #f~, if(2==f[k, 1], 1, (A000265(f[k, 1]+1))^f[k, 2])); };
Aux336393(n) = [A336467(n), A278221(A000265(n))];
v336393 = rgs_transform(vector(up_to, n, Aux336393(n)));
A336393(n) = v336393[n];
CROSSREFS
Sequence in context: A225395 A295877 A336395 * A332899 A331521 A244967
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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)