login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A331597 a(n) = A007947(A331595(n)). 4
1, 2, 2, 3, 2, 3, 2, 5, 3, 3, 2, 5, 2, 3, 6, 7, 2, 15, 2, 5, 6, 3, 2, 7, 3, 3, 5, 5, 2, 15, 2, 11, 6, 3, 6, 7, 2, 3, 6, 7, 2, 15, 2, 5, 10, 3, 2, 11, 3, 15, 6, 5, 2, 7, 6, 7, 6, 3, 2, 7, 2, 3, 10, 13, 6, 15, 2, 5, 6, 15, 2, 11, 2, 3, 15, 5, 6, 15, 2, 11, 7, 3, 2, 7, 6, 3, 6, 7, 2, 7, 6, 5, 6, 3, 6, 13, 2, 15, 10, 7, 2, 15, 2, 7, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..65537

Index entries for sequences computed from indices in prime factorization

FORMULA

a(n) = A007947(A331595(n)) = A007947(gcd(A122111(n), A241909(n))).

MATHEMATICA

Array[Times @@ FactorInteger[#][[All, 1]] &@ If[# == 1, 1, GCD @@ {Block[{k = #, m = 0}, Times @@ Power @@@ Table[k -= m; k = DeleteCases[k, 0]; {Prime@ Length@ k, m = Min@ k}, Length@ Union@ k]] &@ Catenate[ConstantArray[PrimePi[#1], #2] & @@@ #], Function[t, Times @@ Prime@ Accumulate[If[Length@ t < 2, {0}, Join[{1}, ConstantArray[0, Length@ t - 2], {-1}]] + ReplacePart[t, Map[#1 -> #2 & @@ # &, #]]]]@ ConstantArray[0, Transpose[#][[1, -1]]] &[# /. {p_, e_} /; p > 0 :> {PrimePi@ p, e}]} &@ FactorInteger[#]] &, 105] (* Michael De Vlieger, Jan 24 2020, after JungHwan Min at A122111 *)

PROG

(PARI) A331597(n) = factorback(factorint(gcd(A122111(n), A241909(n)))[, 1]);

CROSSREFS

Cf. A007947, A064989, A122111, A241909, A331595, A331596.

Sequence in context: A060324 A046216 A105560 * A339502 A342821 A165916

Adjacent sequences:  A331594 A331595 A331596 * A331598 A331599 A331600

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jan 22 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 19:53 EDT 2021. Contains 343903 sequences. (Running on oeis4.)