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!)
A369457 Lexicographically earliest infinite sequence such that a(i) = a(j) => A369456(i) = A369456(j) for all i, j >= 0. 2
1, 2, 2, 2, 2, 3, 4, 5, 2, 6, 7, 8, 4, 6, 2, 4, 2, 9, 10, 11, 12, 13, 14, 15, 4, 9, 15, 3, 5, 5, 8, 3, 2, 14, 16, 7, 17, 18, 19, 19, 20, 21, 22, 23, 24, 18, 11, 6, 4, 15, 14, 6, 19, 25, 17, 14, 5, 15, 16, 4, 8, 15, 3, 5, 2, 26, 17, 12, 20, 27, 28, 23, 29, 30, 31, 13, 32, 33, 7, 15, 34, 35, 36, 37, 38, 39, 40, 27, 41, 42, 43, 44, 45, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Restricted growth sequence transform of A369456.
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; };
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); (t); };
A083345(n) = { my(f=factor(n)); numerator(vecsum(vector(#f~, i, f[i, 2]/f[i, 1]))); };
A369456(n) = A083345(A005940(1+n));
v369457 = rgs_transform(vector(1+up_to, n, A369456(n-1)));
A369457(n) = v369457[1+n];
CROSSREFS
Cf. also A366802, A369065, A369067.
Sequence in context: A005862 A293254 A046052 * A280069 A202276 A029115
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 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 September 14 03:52 EDT 2024. Contains 375911 sequences. (Running on oeis4.)