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!)
A323080 Lexicographically earliest such sequence a that for all i, j, a(i) = a(j) => f(i) = f(j), where f(1)=0, and f(n) = A252463(n) for n > 1. 3
1, 2, 3, 3, 4, 4, 5, 6, 6, 5, 7, 8, 9, 7, 8, 10, 11, 12, 13, 14, 14, 9, 15, 16, 12, 11, 10, 17, 18, 19, 20, 21, 17, 13, 19, 22, 23, 15, 24, 25, 26, 27, 28, 24, 16, 18, 29, 30, 31, 31, 32, 32, 33, 34, 27, 35, 36, 20, 37, 38, 39, 23, 25, 40, 41, 41, 42, 36, 43, 44, 45, 46, 47, 26, 22, 43, 44, 48, 49, 50, 21, 28, 51, 52, 48, 29, 53, 54, 55, 56, 57, 53, 58, 33, 59, 60, 61, 62, 35, 63, 64, 59, 65, 66, 38 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For all i, j:
a(i) = a(j) => A252463(i) = A252463(j) => A285727(i) = A285727(j),
a(i) = a(j) => A320110(i) = A320110(j) => A320111(i) = A320111(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; };
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};
A252463(n) = if(!(n%2), n/2, A064989(n));
A323080aux(n) = if(1==n, 0, A252463(n));
v323080 = rgs_transform(vector(up_to, n, A323080aux(n)));
A323080(n) = v323080[n];
CROSSREFS
Sequence in context: A306592 A319246 A280026 * A194806 A229790 A156261
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Jan 03 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 April 24 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)