This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A323373 Lexicographically earliest sequence such that for all i, j, a(i) = a(j) => A049559(i) = A049559(j) and A160595(i) = A160595(j). 4
 1, 1, 2, 3, 4, 3, 5, 6, 7, 6, 8, 6, 9, 10, 11, 12, 13, 10, 14, 12, 15, 16, 17, 12, 18, 19, 20, 21, 22, 12, 23, 24, 18, 24, 25, 19, 26, 27, 25, 24, 28, 19, 29, 30, 31, 32, 33, 24, 34, 30, 35, 36, 37, 27, 38, 39, 40, 41, 42, 24, 43, 44, 45, 46, 47, 48, 49, 46, 50, 36, 51, 39, 52, 53, 38, 54, 55, 39, 56, 46, 57, 58, 59, 39, 60, 61, 62, 58, 63, 39, 64, 65, 55, 66, 67, 46, 68, 61, 69, 58, 70, 46 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 COMMENTS Restricted growth sequence transform of [A049559(n), A160595(n)]. For all i, j: a(i) = a(j) => A000010(i) = A000010(j). For all i, j > 1:   a(i) = a(j) => A323374(i) = A323374(j). LINKS Antti Karttunen, Table of n, a(n) for n = 1..65537 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; }; A049559(n) = gcd(eulerphi(n), n-1); A160595(n) = if(1==n, n, numerator(eulerphi(n)/(n-1))); v323373 = rgs_transform(vector(up_to, n, [A049559(n), A160595(n)])); A323373(n) = v323373[n]; CROSSREFS Cf. A000010, A049559, A160595, A323374. Cf. also A323404. Sequence in context: A141128 A160180 A319351 * A319350 A078908 A159797 Adjacent sequences:  A323370 A323371 A323372 * A323374 A323375 A323376 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 27 06:24 EDT 2019. Contains 323599 sequences. (Running on oeis4.)