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!)
A329607 a(n) = A007947(A122111(n)). 4
1, 2, 2, 3, 2, 6, 2, 5, 3, 6, 2, 10, 2, 6, 6, 7, 2, 15, 2, 10, 6, 6, 2, 14, 3, 6, 5, 10, 2, 30, 2, 11, 6, 6, 6, 21, 2, 6, 6, 14, 2, 30, 2, 10, 10, 6, 2, 22, 3, 15, 6, 10, 2, 35, 6, 14, 6, 6, 2, 42, 2, 6, 10, 13, 6, 30, 2, 10, 6, 30, 2, 33, 2, 6, 15, 10, 6, 30, 2, 22, 7, 6, 2, 42, 6, 6, 6, 14, 2, 70, 6, 10, 6, 6, 6, 26, 2, 15, 10, 21, 2, 30, 2, 14, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A122111(A071364(n)).
A181821(a(n)) = A329600(n).
MATHEMATICA
Block[{f}, f[1] = 1; f[n_] := Module[{l = #, m = 0}, Times @@ Power @@@ Table[l -= m; l = DeleteCases[l, 0]; {Prime@ Length@ l, m = Min@ l}, Length@ Union@ l]] &@ Catenate[ConstantArray[PrimePi[#1], #2] & @@@ FactorInteger@ n]; Array[If[# < 1, 0, Sum[EulerPhi[d] Abs@ MoebiusMu[d], {d, Divisors[#]}]] &@ f[#] &, 105]] (* Michael De Vlieger, Nov 18 2019, after JungHwan Min at A122111. *)
PROG
(PARI)
A007947(n) = factorback(factorint(n)[, 1]);
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};
A122111(n) = if(1==n, n, prime(bigomega(n))*A122111(A064989(n)));
CROSSREFS
Sequence in context: A343655 A015995 A068903 * A108499 A260895 A107753
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 17 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 May 18 19:36 EDT 2024. Contains 372666 sequences. (Running on oeis4.)