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.

Original entry on oeis.org

0, 0, 0, 0, 1, 1, 3, 0, 5, 0, 0, 33, 72, 140, 267, 502, 954, 1771, 3355
Offset: 1

Views

Author

Antti Karttunen, Dec 29 2013

Keywords

Comments

Please see the graph of A233270. Iff a(n)=0, A234018(n) = A234019(n).
Seems to grow faster than A233274. Is the ratio a(n)/A233274(n) converging to some limit?

Crossrefs

Programs

  • Scheme
    (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))))))