login
A348500
a(n) = A348494(A276086(n)).
4
1, 1, 1, 5, 1, 7, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 1, 1, 3, 5, 1, 1, 1, 3, 1, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 13, 3, 1, 1, 1, 1, 3, 1, 1, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 1, 1, 19, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1
OFFSET
0,4
FORMULA
a(n) = A348494(A276086(n)), where A348494(n) = A348492(n) / A003557(n).
MATHEMATICA
Block[{b = MixedRadix[Reverse@ Prime@ Range@ 12]}, Map[GCD[Total@GCD[#1, Range[#1]], #1 Total[#2/#1 & @@@ #2]]/Apply[Times, Map[#1^(#2 - 1) & @@ # &, #2]] & @@ {#, FactorInteger[#]} &, Table[Function[k, Times @@ Power @@@ # &@ Transpose@ {Prime@ Range@ Length@ k, Reverse@ k}]@ IntegerDigits[n, b], {n, 0, 105}] ] ] (* Michael De Vlieger, Oct 21 2021 *)
PROG
(PARI)
\\ Needs also code from A348494:
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
CROSSREFS
Cf. also A348501.
Sequence in context: A353874 A354052 A241018 * A308090 A300711 A111008
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Oct 21 2021
STATUS
approved