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!)
A303781 a(2) = 1; for n <> 2, a(n) = gcd(n, A000005(n)), where A000005(n) = number of divisors of n. 2
1, 1, 1, 1, 1, 2, 1, 4, 3, 2, 1, 6, 1, 2, 1, 1, 1, 6, 1, 2, 1, 2, 1, 8, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 9, 1, 2, 1, 8, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 8, 1, 2, 1, 12, 1, 2, 3, 1, 1, 2, 1, 2, 1, 2, 1, 12, 1, 2, 3, 2, 1, 2, 1, 10, 1, 2, 1, 12, 1, 2, 1, 8, 1, 6, 1, 2, 1, 2, 1, 12, 1, 2, 3, 1, 1, 2, 1, 8, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Except for a(2) = 1, a(n) = A009191(n).
LINKS
FORMULA
a(2) = 1; for n <> 2, a(n) = gcd(n, A000005(n)).
MATHEMATICA
Join[{1, 1}, Table[GCD[n, DivisorSigma[0, n]], {n, 3, 110}]] (* Harvey P. Dale, Mar 20 2023 *)
PROG
(PARI) A303781(n) = if(2==n, 1, gcd(n, numdiv(n)));
CROSSREFS
Sequence in context: A300823 A345942 A175702 * A216377 A253515 A319521
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 30 2018
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)