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!)
A364492 a(n) = A163511(n) / gcd(n, A163511(n)). 9
1, 2, 2, 1, 2, 9, 1, 5, 2, 3, 9, 25, 1, 15, 5, 7, 2, 81, 3, 125, 9, 25, 25, 49, 1, 9, 15, 35, 5, 21, 7, 11, 2, 81, 81, 125, 3, 375, 125, 343, 9, 225, 25, 245, 25, 49, 49, 121, 1, 135, 9, 175, 15, 105, 35, 7, 5, 21, 21, 55, 7, 33, 11, 13, 2, 729, 81, 3125, 81, 625, 125, 2401, 3, 1125, 375, 343, 125, 147, 343, 1331 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Denominator of n / A163511(n).
LINKS
FORMULA
a(n) = A163511(n) / A364255(n) = A163511(n) / gcd(n, A163511(n)).
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t };
A054429(n) = ((3<<#binary(n\2))-n-1);
A163511(n) = if(!n, 1, A005940(1+A054429(n)))
A364492(n) = { my(u=A163511(n)); (u/gcd(n, u)); };
(Python)
from math import gcd
from sympy import nextprime
def A364492(n):
c, p, k = 1, 1, n
while k:
c *= (p:=nextprime(p))**(s:=(~k&k-1).bit_length())
k >>= s+1
return c*p//gcd(c*p, n) # Chai Wah Wu, Jul 26 2023
CROSSREFS
Cf. A163511, A364255, A364491 (numerators), A364493, A364496 (positions of 1's).
Sequence in context: A014243 A366375 A366285 * A124839 A336846 A294076
KEYWORD
nonn,frac
AUTHOR
Antti Karttunen, Jul 26 2023
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 August 13 02:28 EDT 2024. Contains 375113 sequences. (Running on oeis4.)