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!)
A353270 a(n) = gcd(n, A332449(n)), where A332449(n) = A005940(1+(3*A156552(n))). 6
1, 2, 3, 2, 5, 2, 7, 2, 3, 2, 11, 2, 13, 2, 3, 2, 17, 2, 19, 10, 3, 2, 23, 6, 5, 2, 3, 14, 29, 2, 31, 2, 3, 2, 5, 2, 37, 2, 3, 10, 41, 6, 43, 22, 3, 2, 47, 6, 7, 2, 3, 26, 53, 6, 5, 14, 3, 2, 59, 2, 61, 2, 21, 2, 5, 2, 67, 34, 3, 2, 71, 6, 73, 2, 3, 38, 7, 2, 79, 10, 3, 2, 83, 2, 5, 2, 3, 22, 89, 2, 7, 46, 3, 2, 5, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = gcd(n, A332449(n)) = gcd(n, A005940(1+(3*A156552(n)))).
a(n) = n / A353271(n) = A332449(n) / A353272(n).
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); (t); };
A156552(n) = { my(f = factor(n), p, p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res };
A332449(n) = A005940(1+(3*A156552(n)));
A353270(n) = gcd(n, A332449(n));
CROSSREFS
Sequence in context: A092067 A214606 A325643 * A356838 A079879 A071889
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 09 2022
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 September 4 22:02 EDT 2024. Contains 375685 sequences. (Running on oeis4.)