Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
A374032 Lexicographically earliest infinite sequence such that a(i) = a(j) => A278226(A374031(i)) = A278226(A374031(j)), for all i, j >= 1. 2
1, 2, 2, 2, 2, 2, 2, 3, 4, 2, 2, 4, 2, 2, 4, 4, 2, 2, 2, 4, 3, 2, 2, 2, 4, 2, 2, 4, 2, 2, 2, 5, 4, 2, 4, 2, 2, 2, 4, 6, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 4, 4, 2, 2, 3, 3, 7, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 4, 4, 2, 2, 2, 2, 2, 2, 4, 8, 2, 2, 2, 3, 2, 2, 2, 4, 2, 4, 3, 2, 2, 9, 4, 3, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 3, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Restricted growth sequence transform of A278226(A374031(n)).
For all i, j >= 1:
A305800(i) = A305800(j) => a(i) = a(j) => A374034(i) = A374034(j).
LINKS
PROG
(PARI)
up_to = 100000;
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; };
A002110(n) = prod(i=1, n, prime(i));
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); };
A276085(n) = { my(f = factor(n)); sum(k=1, #f~, f[k, 2]*A002110(primepi(f[k, 1])-1)); };
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
A328768(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]*A002110(primepi(f[i, 1])-1)/f[i, 1]));
A374031(n) = gcd(A276085(n), A328768(n));
v374032 = rgs_transform(vector(up_to, n, A278226(A374031(n))));
A374032(n) = v374032[n];
CROSSREFS
Cf. also A373982, A374033.
Sequence in context: A086394 A029226 A093354 * A317245 A332277 A109701
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 27 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 27 22:21 EDT 2024. Contains 375471 sequences. (Running on oeis4.)