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!)
A364951 Lexicographically earliest infinite sequence such that a(i) = a(j) => A025480(i) = A025480(j) and A046523(i) = A046523(j) for all i, j >= 1. 2
1, 2, 3, 4, 2, 5, 3, 6, 4, 7, 2, 8, 9, 10, 11, 12, 13, 14, 15, 16, 7, 17, 2, 18, 19, 20, 21, 22, 23, 24, 3, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 2, 40, 41, 42, 43, 44, 45, 46, 5, 47, 48, 49, 23, 50, 51, 52, 53, 54, 55, 56, 57, 58, 27, 59, 13, 60, 61, 62, 14, 63, 31, 64, 15, 65, 66, 67, 34, 68 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Restricted growth sequence transform of the ordered pair [A025480(n), A046523(n)], or equally, of the ordered pair [A003602(1+n), A101296(n)].
For all i, j: A364950(i) = A364950(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; };
A025480(n) = (n>>valuation(n*2+2, 2));
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ From A046523
Aux364951(n) = [A025480(n), A046523(n)];
v364951 = rgs_transform(vector(up_to, n, Aux364951(n)));
A364951(n) = v364951[n];
CROSSREFS
Sequence in context: A366122 A182718 A212645 * A364950 A100798 A302785
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 17 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 17 05:45 EDT 2024. Contains 374360 sequences. (Running on oeis4.)