

A287635


a(1) = a(2) = a(3) = a(4) = 1; a(n) = a(a(n4)) + a(na(n3)) for n > 4.


1



1, 1, 1, 1, 2, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 7, 7, 7, 8, 9, 9, 9, 9, 10, 11, 11, 11, 11, 12, 13, 14, 14, 14, 14, 14, 14, 14, 15, 16, 16, 16, 17, 18, 18, 18, 18, 19, 20, 21, 21, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 25, 25, 25, 26, 27, 28, 28, 28, 28, 29, 29, 29, 29, 30, 31, 32, 32
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,5


LINKS

Altug Alkan, Table of n, a(n) for n = 1..10000
Altug Alkan, Alternative scatterplot


MAPLE

a:= proc(n) option remember: if n<5 then 1 else procname(procname(n4))+procname(nprocname(n3)) fi end: seq(a(n), n=1..80); # Muniru A Asiru, Jun 06 2018


PROG

(PARI) q=vector(100000); q[1]=q[2]=q[3]=q[4]=1; for(n=5, #q, q[n]=q[q[n4]]+q[nq[n3]]); vector(100000, n, q[n])
(GAP) a:=[1, 1, 1, 1];; for n in [5..80] do a[n]:=a[a[n4]]+a[na[n3]]; od; a; # Muniru A Asiru, Jun 06 2018


CROSSREFS

Cf. A004001, A005185.
Sequence in context: A308411 A087848 A087844 * A189660 A194167 A140427
Adjacent sequences: A287632 A287633 A287634 * A287636 A287637 A287638


KEYWORD

nonn,look


AUTHOR

Altug Alkan, May 28 2017


STATUS

approved



