login
Diving index of 4n+3.
5

%I #9 May 19 2024 03:20:35

%S 0,0,0,0,3,0,0,0,0,0,3,0,10,0,0,0,3,0,0,0,0,0,3,0,10,0,7,0,3,0,7,7,0,

%T 0,3,0,8,0,8,0,3,0,0,0,11,0,3,0,34,0,8,19,3,0,10,13,61,0,3,0,0,7,0,0,

%U 3,0,7,0,8,0,3,0,10,0,0,0,3,0,32,0,7,0,3,0,58,0,7,0,3,0,0

%N Diving index of 4n+3.

%C 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.

%H Antti Karttunen and J. Moyer, <a href="/A095062/a095062.c.txt">C-program for computing the initial terms of this sequence</a>

%F a(n) = A095270(n)+1 modulo A004767(n).

%Y Cf. A004767, A095270, A095109, A095271 (same sequence with zeros removed).

%K nonn

%O 0,5

%A _Antti Karttunen_, Jun 01 2004