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!)
A331295 Number of values of k, 1 <= k <= n, with f(k) = f(n), where f(n) = [A001222(n), A061395(n)]. 1
1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 3, 1, 3, 1, 1, 2, 1, 1, 2, 1, 3, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 1, 4, 4, 2, 1, 1, 3, 3, 1, 2, 1, 1, 2, 1, 1, 3, 1, 3, 2, 1, 1, 2, 4, 1, 2, 1, 1, 5, 1, 4, 2, 1, 1, 4, 1, 1, 2, 3, 1, 2, 1, 1, 3, 4, 1, 2, 1, 3, 1, 1, 5, 3, 4, 1, 2, 1, 1, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
COMMENTS
Ordinal transform of A331298, or equally, of the ordered pair [A001222(n), A061395(n)].
LINKS
MATHEMATICA
f[n_] := f[n] = {PrimeOmega[n], PrimePi[FactorInteger[n]][[-1, 1]]};
a[n_] := Count[Array[f, n], f[n]];
Array[a, 105] (* Jean-François Alcover, Jan 10 2022 *)
PROG
(PARI)
up_to = 1001;
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; };
A061395(n) = if(1==n, 0, primepi(vecmax(factor(n)[, 1])));
Aux331298(n) = [bigomega(n), A061395(n)];
v331295 = ordinal_transform(vector(up_to, n, Aux331298(n)));
A331295(n) = v331295[n];
CROSSREFS
Sequence in context: A257743 A033272 A324907 * A325133 A236338 A284259
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 19 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 April 30 07:17 EDT 2024. Contains 372127 sequences. (Running on oeis4.)