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!)
A374477 Lexicographically earliest infinite sequence such that a(i) = a(j) => A348717(i) = A348717(j) and A374469(i) = A374469(j), for all i, j >= 1. 0
1, 2, 3, 4, 2, 5, 2, 6, 7, 8, 2, 9, 2, 10, 11, 12, 2, 13, 2, 14, 15, 16, 2, 17, 18, 19, 6, 20, 2, 21, 2, 22, 23, 24, 25, 26, 2, 27, 16, 28, 2, 29, 2, 30, 9, 31, 2, 32, 4, 33, 19, 34, 2, 35, 36, 37, 38, 39, 2, 40, 2, 41, 14, 42, 10, 43, 2, 44, 45, 46, 2, 47, 2, 48, 49, 50, 51, 52, 2, 53, 54, 55, 2, 56, 57, 58, 31, 59, 2, 60, 8, 61, 62, 63, 19, 64, 2, 65, 20, 66 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Restricted growth sequence transform of the ordered pair [A348717(n), A374469(n)].
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; };
A348717(n) = if(1==n, 1, my(f = factor(n), k = primepi(f[1, 1])-1); for (i=1, #f~, f[i, 1] = prime(primepi(f[i, 1])-k)); factorback(f));
A000265(n) = (n>>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));
A364255(n) = gcd(n, A163511(n));
Aux374477(n) = [A348717(n), A374469(n)];
v374477 = rgs_transform(vector(up_to, n, Aux374477(n)));
A374477(n) = v374477[n];
CROSSREFS
Cf. also A374478.
Sequence in context: A323156 A075994 A305893 * A325980 A366122 A182718
KEYWORD
nonn,new
AUTHOR
Antti Karttunen, Aug 07 2024
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 August 13 15:21 EDT 2024. Contains 375142 sequences. (Running on oeis4.)