OFFSET
1,2
LINKS
Altug Alkan, Table of n, a(n) for n = 1..10000
Altug Alkan, Scatterplot of a(n)
PROG
(PARI) q=vector(1000); q[1]=1; q[2]=2; q[3]=3; q[4]=4; q[5]=5; for(n=6, #q, q[n]=q[n-q[n-1]+1]+q[n-q[n-2]+2]); vector(1000, n, q[n])
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, May 23 2017
STATUS
approved