OFFSET
1,1
COMMENTS
REFERENCES
B. W. Conolly, "Meta-Fibonacci sequences," in S. Vajda, editor, Fibonacci and Lucas Numbers and the Golden Section. Halstead Press, NY, 1989, pp. 127-138. See Eq. (2).
LINKS
Nathan Fox, Table of n, a(n) for n = 1..10000
FORMULA
a(n+1)-a(n)=1 or 0.
a(n)/n -> C=1/2.
MAPLE
PROG
(Magma) I:=[2, 3]; [n le 2 select I[n] else Self(n+1-Self(n-1))+Self(n-Self(n-2)): n in [1..100]]; // Vincenzo Librandi, Jul 09 2018
(GAP) a:=[2, 3];; for n in [3..75] do a[n]:=a[n+1-a[n-1]]+a[n-a[n-2]]; od; a; # Muniru A Asiru, Jul 09 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Nathan Fox, Jul 08 2018
STATUS
approved