[go: up one dir, main page]

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!)
A069896 GCD of consecutive values of Chowla's function. 2
0, 0, 2, 2, 5, 5, 6, 3, 1, 7, 15, 15, 9, 1, 2, 14, 20, 20, 21, 1, 1, 13, 35, 5, 5, 3, 3, 27, 41, 41, 30, 2, 1, 1, 6, 54, 21, 1, 1, 49, 53, 53, 39, 1, 1, 25, 75, 1, 7, 2, 5, 45, 65, 1, 1, 1, 1, 31, 107, 107, 33, 1, 2, 2, 1, 77, 57, 1, 1, 73, 122, 122, 39, 3, 3, 9, 1, 89, 105, 3, 1, 43 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = gcd(sigma(n+1)-(n+1)-1, sigma(n)-n-1), for n > 1.
EXAMPLE
Chowla's function values from 92 to 96 are 75,34,49,24,155: successive values are relatively primes.
MATHEMATICA
m = 100; s = Array[If[# == 1, 0, DivisorSigma[1, #] - # - 1] &, {m}]; GCD[s[[1 ;; m - 1]], s[[2 ;; m]]] (* Amiram Eldar, Aug 28 2019 *)
CROSSREFS
Sequence in context: A158106 A185313 A208301 * A053246 A219651 A168391
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, Apr 10 2002
EXTENSIONS
a(1) corrected by Amiram Eldar, Aug 28 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 August 31 19:25 EDT 2024. Contains 375573 sequences. (Running on oeis4.)