The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A366294 Lexicographically earliest infinite sequence such that a(i) = a(j) => A326042(i) = A326042(j) for all i, j >= 1, where A326042(n) = A064989(sigma(A003961(n))). 2
1, 1, 2, 3, 1, 2, 2, 4, 5, 1, 6, 7, 8, 2, 2, 9, 4, 5, 2, 3, 8, 6, 10, 10, 11, 8, 7, 7, 1, 2, 12, 13, 14, 4, 2, 15, 14, 2, 16, 4, 17, 8, 2, 13, 5, 10, 16, 18, 19, 11, 10, 20, 10, 7, 6, 10, 8, 1, 5, 7, 21, 12, 22, 23, 8, 14, 8, 24, 25, 2, 26, 27, 4, 14, 28, 7, 14, 16, 14, 9, 29, 17, 25, 20, 4, 2, 2, 30, 31, 5, 16, 32 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Restricted growth sequence transform of A326042.
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; };
A003961(n) = { my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
A064989(n) = { my(f=factor(n>>valuation(n, 2))); for(i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f); };
A326042(n) = A064989(sigma(A003961(n)));
v366294 = rgs_transform(vector(up_to, n, A326042(n)));
A366294(n) = v366294[n];
CROSSREFS
Cf. also A286603, A366295.
Sequence in context: A236855 A244232 A227781 * A351441 A254761 A227552
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 07 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 May 15 05:14 EDT 2024. Contains 372536 sequences. (Running on oeis4.)