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!)
A324873 a(n) = gcd(n, A060968(n)). 2
1, 2, 1, 4, 1, 2, 1, 8, 3, 2, 1, 4, 1, 2, 1, 16, 1, 6, 1, 4, 1, 2, 1, 8, 5, 2, 9, 4, 1, 2, 1, 32, 3, 2, 1, 12, 1, 2, 3, 8, 1, 2, 1, 4, 3, 2, 1, 16, 7, 10, 1, 4, 1, 18, 1, 8, 1, 2, 1, 4, 1, 2, 3, 64, 1, 6, 1, 4, 3, 2, 1, 24, 1, 2, 5, 4, 1, 6, 1, 16, 27, 2, 1, 4, 1, 2, 1, 8, 1, 6, 1, 4, 1, 2, 5, 32, 1, 14, 9, 20, 1, 2, 1, 8, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = gcd(n, A060968(n)).
PROG
(PARI)
A060968(n) = { my(f=factor(n)[, 1]); n*prod(i=if(n%2, 1, 2), #f, if(f[i]%4==1, 1-1/f[i], 1+1/f[i]))*if(n%4, 1, 2); }; \\ From A060968
A324873(n) = gcd(n, A060968(n));
CROSSREFS
Cf. A060968, A235866 (positions of ones).
Sequence in context: A333763 A076775 A357689 * A325566 A218621 A079891
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 18 2019
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 April 25 13:02 EDT 2024. Contains 371969 sequences. (Running on oeis4.)