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!)
A056691 Number of divisors k of n with gcd(k+1, n) = 1. 1
1, 1, 2, 2, 2, 1, 2, 3, 3, 2, 2, 3, 2, 2, 3, 4, 2, 2, 2, 3, 4, 2, 2, 4, 3, 2, 4, 4, 2, 3, 2, 5, 3, 2, 4, 5, 2, 2, 4, 5, 2, 1, 2, 4, 4, 2, 2, 6, 3, 3, 3, 4, 2, 3, 4, 6, 4, 2, 2, 5, 2, 2, 6, 6, 4, 3, 2, 4, 3, 3, 2, 7, 2, 2, 5, 4, 4, 2, 2, 7, 5, 2, 2, 5, 4, 2, 3, 6, 2, 5, 3, 4, 4, 2, 3, 7, 2, 3, 5, 5, 2, 3, 2, 6, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
The positive divisors of 8 are 1, 2, 4 and 8. (2+1), (4+1) and (8+1) are relatively prime to 8, so a(8) = 3.
MATHEMATICA
Table[Length[Select[Divisors[n], CoprimeQ[#+1, n]&]], {n, 120}] (* Harvey P. Dale, Sep 07 2020 *)
CROSSREFS
Sequence in context: A083647 A364332 A346389 * A262982 A205011 A130790
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 10 2000
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 July 13 14:24 EDT 2024. Contains 374284 sequences. (Running on oeis4.)