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!)
A060778 a(n) = gcd(A000005(n+1), A000005(n)). 6
1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 2, 2, 2, 4, 1, 1, 2, 2, 2, 2, 4, 2, 2, 1, 1, 4, 2, 2, 2, 2, 2, 2, 4, 4, 1, 1, 2, 4, 4, 2, 2, 2, 2, 6, 2, 2, 2, 1, 3, 2, 2, 2, 2, 4, 4, 4, 4, 2, 2, 2, 2, 2, 1, 1, 4, 2, 2, 2, 4, 2, 2, 2, 2, 2, 6, 2, 4, 2, 2, 5, 1, 2, 2, 4, 4, 4, 4, 2, 2, 4, 2, 2, 4, 4, 4, 2, 2, 6, 3, 1, 2, 2, 2, 8, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
GCD@@@Partition[DivisorSigma[0, Range[110]], 2, 1] (* Harvey P. Dale, May 27 2014 *)
PROG
(PARI) { t=1; for (n=1, 1000, d=numdiv(n+1); write("b060778.txt", n, " ", gcd(d, t)); t=d; ) } \\ Harry J. Smith, Jul 11 2009
(PARI) a(n) = gcd(numdiv(n), numdiv(n+1)); \\ Michel Marcus, Jan 12 2018
(Python)
from math import gcd
from sympy import divisor_count
def A060778(n): return gcd(divisor_count(n+1), divisor_count(n)) # Chai Wah Wu, Aug 12 2023
CROSSREFS
Sequence in context: A213911 A081355 A223708 * A096492 A343856 A053874
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 26 2001
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 29 18:29 EDT 2024. Contains 372114 sequences. (Running on oeis4.)