OFFSET
1,4
COMMENTS
Diving index of an odd number n is the first integer u > 1 where Sum_{i=1..u} J(i/n) results -1 and zero if never. Here J(i/n) is Jacobi symbol of i and n, which reduces to a Legendre symbol L(i/n) when n is a prime.
LINKS
A. Karttunen and J. Moyer, C-program for computing the initial terms of this sequence
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 01 2004
STATUS
approved