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.

A283897 Relative of Hofstadter Q-sequence: a(-90) = 91, a(-89) = 2; thereafter a(n) = a(n-a(n-1)) + a(n-a(n-2)).

Original entry on oeis.org

93, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2
Offset: 1

Views

Author

Nathan Fox, Mar 19 2017

Keywords

Comments

In calculating terms of this sequence, use the convention that a(n)=0 for n<=-91.
Sequences like this are more naturally considered with the first nonzero term in position 1. But this sequence would then begin with 91 terms consisting entirely of alternating 2 and 91.
This sequence has exactly 375 terms, since a(375)=0 and computing a(376) would refer to itself.

Crossrefs

Programs