[go: up one dir, main page]

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!)
A353278 Ordinal transform of the function f(n) = [A020639(n), A341353(n)] for n > 1, with f(1) = 1. 2
1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 4, 1, 5, 2, 2, 1, 6, 1, 7, 1, 3, 1, 8, 1, 9, 3, 10, 1, 4, 1, 11, 4, 5, 2, 1, 1, 12, 2, 6, 1, 13, 1, 14, 5, 2, 1, 15, 1, 16, 6, 17, 1, 18, 1, 19, 3, 20, 1, 21, 1, 7, 7, 2, 3, 8, 1, 22, 8, 23, 1, 24, 1, 25, 9, 26, 2, 27, 1, 28, 4, 9, 1, 10, 2, 29, 1, 3, 1, 3, 1, 30, 10, 4, 4, 31, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Also the ordinal transform of A353277.
LINKS
PROG
(PARI)
up_to = 65537;
ordinal_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), pt); for(i=1, length(invec), if(mapisdefined(om, invec[i]), pt = mapget(om, invec[i]), pt = 0); outvec[i] = (1+pt); mapput(om, invec[i], (1+pt))); outvec; };
A007814(n) = valuation(n, 2);
A007949(n) = valuation(n, 3);
A156552(n) = { my(f = factor(n), p, p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res };
Aux353278(n) = if(1==n, 1, my(u=A156552(n)); [A007814(u), A007949(u)]);
v353278 = ordinal_transform(vector(up_to, n, Aux353278(n)));
A353278(n) = v353278[n];
CROSSREFS
Cf. also A078898, A126760.
Sequence in context: A306922 A331181 A344593 * A328917 A265917 A057021
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 10 2022
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 August 29 15:03 EDT 2024. Contains 375517 sequences. (Running on oeis4.)