login
A340085
a(n) = A336466(n) / gcd(n-1, A336466(n)); Odd part of A340082(n).
6
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 5, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 5, 1, 3, 1, 1, 9, 3, 1, 1, 3, 1, 5, 1, 11, 1, 1, 3, 1, 1, 1, 1, 1, 5, 3, 9, 7, 1, 1, 1, 15, 3, 1, 3, 1, 1, 1, 11, 1, 1, 1, 1, 9, 1, 3, 15, 3, 1, 1, 1, 5, 1, 3, 1, 21, 7, 5, 1, 1, 1, 11, 15, 23, 9, 1, 1, 9, 5, 1, 1, 1, 1, 3, 3
OFFSET
1,14
FORMULA
a(n) = A000265(A340082(n)).
a(n) = A336466(n) / A340084(n) = A336466(n) / gcd(n-1, A336466(n)).
For all n >= 0, a(A003961(A019565(n))) = a(A019565(2*n)) = A339901(n).
MATHEMATICA
Array[#2/GCD[#1 - 1, #2] & @@ {#, Times @@ Map[If[# <= 2, 1, (# - 1)/2^IntegerExponent[# - 1, 2]] &, Flatten[ConstantArray[#1, #2] & @@@ FactorInteger[#]]]} &, 105] (* Michael De Vlieger, Dec 29 2020 *)
PROG
(PARI)
A000265(n) = (n>>valuation(n, 2));
A336466(n) = { my(f=factor(n)); prod(k=1, #f~, if(2==f[k, 1], 1, (A000265(f[k, 1]-1))^f[k, 2])); };
A340085(n) = { my(u=A336466(n)); u/gcd(n-1, u); };
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 28 2020
STATUS
approved