OFFSET
2,5
LINKS
Rémy Sigrist, Table of n, a(n) for n = 2..20000
EXAMPLE
If n = 6, among the numbers k = 0,1,2,3,4,5,6,7,... there is a run of L = 3 consecutive numbers, 2,3,4, all with gcd(k,6)>1, starting at k=2, so a(6) = 2.
If n is a prime (or prime power), a(n)=0.
MAPLE
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 19 2017
STATUS
approved