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!)
A324344 Lexicographically earliest positive sequence such that a(i) = a(j) => A000120(i) = A000120(j) and A324342(i) = A324342(j), for all i, j >= 0. 5
1, 2, 2, 3, 2, 3, 4, 5, 2, 3, 4, 6, 7, 8, 9, 10, 2, 3, 4, 11, 4, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 2, 3, 4, 11, 22, 11, 15, 19, 14, 23, 24, 25, 26, 13, 10, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 2, 3, 4, 11, 44, 5, 23, 45, 44, 12, 16, 46, 32, 33, 33, 47, 48, 18, 16, 46, 26, 37, 49, 50, 16, 51, 52, 53, 13, 54, 55, 56, 57, 36, 58, 38, 59, 49, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Restricted growth sequence transform of the ordered pair [A000120(n), A324342(n)].
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; };
A002110(n) = prod(i=1, n, prime(i));
A030308(n, k) = bittest(n, k);
A283477(n) = prod(i=0, #binary(n), if(0==A030308(n, i), 1, A030308(n, i)*A002110(1+i)));
A276150(n) = { my(s=0, m); forprime(p=2, , if(!n, return(s)); m = n%p; s += m; n = (n-m)/p); };
A324344aux(n) = [hammingweight(n), A324342(n)];
v324344 = rgs_transform(vector(1+up_to, n, A324344aux(n-1)));
A324344(n) = v324344[1+n];
CROSSREFS
Cf. also A318310.
Sequence in context: A085916 A286535 A350511 * A059711 A318287 A048621
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 24 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 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)