1,6

Sequence dies (i.e. becomes undefined) after 37 terms.

Table of n, a(n) for n=1..37.

(MAGMA) [n le 5 select 1 else Self(n-Self(n-2))+Self(n-Self(n-5)): n in [1..37]]; // Vincenzo Librandi, Sep 10 2016

Sequence in context: A331379 A023835 A272633 * A174416 A228728 A138888

Adjacent sequences: A240814 A240815 A240816 * A240818 A240819 A240820

nonn,fini,full

N. J. A. Sloane, Apr 15 2014

approved