cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A166088 Odd integers (that is, of the form 2n+1) for which Sum_{i=1..u} J(i,2n+1) obtains value zero exactly 8 times, when u ranges from 1 to (2n+1). Here J(i,k) is the Jacobi symbol.

This page as a plain text file.
%I A166088 #8 Jan 13 2024 13:06:45
%S A166088 29,37,41,65,73,97,177,193
%N A166088 Odd integers (that is, of the form 2n+1) for which Sum_{i=1..u} J(i,2n+1) obtains value zero exactly 8 times, when u ranges from 1 to (2n+1). Here J(i,k) is the Jacobi symbol.
%C A166088 Of these eight, all are of the form 4k+1, and all others are primes except 65 (= 5*13) and 177 (= 3*59). Conjecture: There are no more terms after the eight one, 193. (Checked up to the 400000th term of A166040, i.e., up to A005408(400000)=800001.)
%o A166088 (MIT/GNU Scheme)
%o A166088 ; with macro MATCHING-POS by AK
%o A166088 (define (A166088 n) (A005408 (index_for_a166088 n)))
%o A166088 (define index_for_a166088 (MATCHING-POS 1 0 (lambda (i) (= 8 (A166040 i)))))
%K A166088 nonn
%O A166088 1,1
%A A166088 _Antti Karttunen_, Oct 08 2009