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.

A234020 Offsets from the middle point of each row of A233270 to the nearest point containing a maximum value of that range.

This page as a plain text file.
%I A234020 #8 Jan 16 2014 15:02:42
%S A234020 0,0,0,0,1,1,3,0,5,0,0,33,72,140,267,502,954,1771,3355
%N A234020 Offsets from the middle point of each row of A233270 to the nearest point containing a maximum value of that range.
%C A234020 Please see the graph of A233270. Iff a(n)=0, A234018(n) = A234019(n).
%C A234020 Seems to grow faster than A233274. Is the ratio a(n)/A233274(n) converging to some limit?
%o A234020 (Scheme)
%o A234020 (define (A234020 n) (let ((middle (A233268 n))) (let loop ((i middle) (m 0) (maxp middle)) (cond ((zero? (A233270 i)) (- middle maxp)) ((> (abs (A233270 i)) m) (loop (- i 1) (abs (A233270 i)) i)) (else (loop (- i 1) m maxp))))))
%Y A234020 Cf. A233268, A233270, A234018, A234019, A233274.
%K A234020 nonn
%O A234020 1,7
%A A234020 _Antti Karttunen_, Dec 29 2013