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.

A240817 a(1) = 1 for n <= 5; thereafter a(n) = a(n-a(n-2))+a(n-a(n-5)) for n>3.

This page as a plain text file.
%I A240817 #21 Sep 08 2022 08:46:07
%S A240817 1,1,1,1,1,2,4,6,7,8,8,7,5,8,12,12,9,7,16,11,8,13,24,14,9,14,15,9,20,
%T A240817 16,17,21,26,13,23,40,20
%N A240817 a(1) = 1 for n <= 5; thereafter a(n) = a(n-a(n-2))+a(n-a(n-5)) for n>3.
%C A240817 Sequence dies (i.e. becomes undefined) after 37 terms.
%o A240817 (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
%K A240817 nonn,fini,full
%O A240817 1,6
%A A240817 _N. J. A. Sloane_, Apr 15 2014