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!)
A336390 Lexicographically earliest infinite sequence such that a(i) = a(j) => A336467(i) = A336467(j) and A336158(i) = A336158(j), for all i, j >= 1. 10
1, 1, 2, 1, 3, 2, 2, 1, 4, 3, 3, 2, 5, 2, 6, 1, 7, 4, 8, 3, 9, 3, 3, 2, 10, 5, 11, 2, 12, 6, 2, 1, 6, 7, 6, 4, 13, 8, 14, 3, 15, 9, 16, 3, 17, 3, 3, 2, 4, 10, 18, 5, 19, 11, 18, 2, 20, 12, 12, 6, 21, 2, 22, 1, 23, 6, 24, 7, 6, 6, 7, 4, 25, 13, 26, 8, 6, 14, 8, 3, 27, 15, 15, 9, 28, 16, 29, 3, 30, 17, 14, 3, 9, 3, 29, 2, 31, 4, 17, 10, 32, 18, 33, 5, 34 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Restricted growth sequence transform of the ordered pair [A336467(n), A336158(n)].
For all i, j:
A324400(i) = A324400(j) => A003602(i) = A003602(j) => a(i) = a(j),
a(i) = a(j) => A331410(i) = A331410(j),
a(i) = a(j) => A336391(i) = A336391(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
A336467(n) = { my(f=factor(n)); prod(k=1, #f~, if(2==f[k, 1], 1, (A000265(f[k, 1]+1))^f[k, 2])); };
Aux336390(n) = [A336158(n), A336467(n)];
v336390 = rgs_transform(vector(up_to, n, Aux336390(n)));
A336390(n) = v336390[n];
CROSSREFS
Cf. also A336470.
Sequence in context: A366797 A365394 A365391 * A124758 A198328 A366790
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 July 12 05:51 EDT 2024. Contains 374237 sequences. (Running on oeis4.)