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!)
A323370 Lexicographically earliest sequence such that for all i, j, a(i) = a(j) => f(i) = f(j) where f(n) = [A000035(n), A003557(n), A023900(n)] for all other numbers, except f(n) = 0 for odd primes. 5
1, 2, 3, 4, 3, 5, 3, 6, 7, 8, 3, 9, 3, 10, 11, 12, 3, 13, 3, 14, 15, 16, 3, 17, 18, 19, 20, 21, 3, 22, 3, 23, 24, 25, 26, 27, 3, 28, 26, 29, 3, 30, 3, 31, 32, 33, 3, 34, 35, 36, 37, 38, 3, 39, 40, 41, 42, 43, 3, 44, 3, 45, 46, 47, 48, 49, 3, 50, 51, 52, 3, 53, 3, 54, 55, 56, 57, 52, 3, 58, 59, 60, 3, 61, 62, 63, 64, 65, 3, 66, 67, 68, 57, 69, 67, 70, 3, 71, 72, 73, 3, 74, 3, 75, 76 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Restricted growth sequence transform of function f, defined as f(n) = 0 when n is an odd prime, and f(n) = [A000035(n), A003557(n), A023900(n)] for all other numbers.
For all i, j:
A305801(i) = A305801(j) => a(i) = a(j),
a(i) = a(j) => A323367(i) = A323367(j),
a(i) = a(j) => A323371(i) = A323371(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; };
A003557(n) = { my(f=factor(n)); for (i=1, #f~, f[i, 2] = max(0, f[i, 2]-1)); factorback(f); };
A023900(n) = sumdivmult(n, d, d*moebius(d)); \\ From A023900
Aux323370(n) = if((n>2)&&isprime(n), 0, [(n%2), A003557(n), A023900(n)]);
v323370 = rgs_transform(vector(up_to, n, Aux323370(n)));
A323370(n) = v323370[n];
CROSSREFS
Differs from A323405 for the first time at n=78, where a(78) = 52, while A323405(78) = 58.
Sequence in context: A323369 A323400 A323367 * A323405 A353521 A319349
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 13 2019
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 June 8 05:45 EDT 2024. Contains 373207 sequences. (Running on oeis4.)