login
A136165
a(n) = the number of divisors of n that are each not noncoprime to either the previous or the following divisor of n.
6
1, 2, 2, 1, 2, 2, 2, 1, 1, 2, 2, 3, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 3, 1, 2, 1, 1, 2, 4, 2, 1, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 1, 3, 2, 2, 3, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 3, 1, 2, 2, 2, 1, 2, 4, 2, 3, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 4, 2, 2, 2, 1, 2, 4, 2, 1, 2, 2, 2, 3, 2, 2, 1, 1, 2, 2, 2, 1, 4
OFFSET
1,2
EXAMPLE
The divisors of 28 are 1,2,4,7,14,28. Among adjacent pairs of divisors, 1 and 2 are coprime and 4 and 7 are coprime. But 2 and 4 are adjacent divisors which are not coprime. And 7 is next to 14 among divisors of 28 and 7 and 14 are not coprime. Therefore there is a(28) = 1 divisor (1) that is not next to another divisor that it is not coprime to.
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 17 2007
EXTENSIONS
More terms from Diana L. Mecum, Jul 11 2007
STATUS
approved