The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A331296 Number of values of k, 1 <= k <= n, with A263297(k) = A263297(n), where A263297(n) = max(A001222(n), A061395(n)). 3
1, 1, 1, 2, 1, 3, 1, 2, 4, 3, 1, 4, 1, 2, 5, 3, 1, 6, 1, 7, 4, 2, 1, 5, 8, 2, 9, 6, 1, 10, 1, 3, 4, 2, 7, 8, 1, 2, 3, 9, 1, 10, 1, 5, 11, 2, 1, 6, 11, 12, 3, 4, 1, 12, 7, 13, 3, 2, 1, 14, 1, 2, 15, 5, 6, 8, 1, 4, 3, 16, 1, 9, 1, 2, 13, 4, 10, 7, 1, 11, 17, 2, 1, 18, 5, 2, 3, 12, 1, 19, 8, 4, 3, 2, 5, 9, 1, 20, 13, 21, 1, 6, 1, 10, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Ordinal transform of A263297.
LINKS
MATHEMATICA
A263297[n_] := If[n == 1, 0, With[{f = FactorInteger[n]}, Max[PrimePi[Max[f[[All, 1]]]], Total[f[[All, 2]]]]]];
b[_] = 0;
a[n_] := With[{t = A263297[n]}, b[t] = b[t] + 1];
Array[a, 105] (* Jean-François Alcover, Jan 10 2022 *)
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; };
A263297(n) = if(n<2, 0, my(f=factor(n)); max(vecsum(f[, 2]), primepi(f[#f~, 1]))); \\ From A263297
v331296 = ordinal_transform(vector(up_to, n, A263297(n)));
A331296(n) = v331296[n];
CROSSREFS
Cf. also A078899.
Sequence in context: A213371 A125047 A323420 * A270656 A045898 A303754
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 18 2020
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 June 12 08:10 EDT 2024. Contains 373325 sequences. (Running on oeis4.)