OFFSET
1,4
LINKS
Altug Alkan, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Colored scatterplot of the first 30000 terms (where the color is function of n mod 6)
PROG
(PARI) q=vector(100); q[1]=q[2]=q[3]=1; for(n=4, #q, q[n]=round((2*n-q[n-1]-q[n-2])/q[n-3])); q
(Magma) I:=[1, 1, 1]; [n le 3 select I[n] else Round((2*n-Self(n-1)-Self(n-2))/Self(n-3)):n in [1..80]]; // Marius A. Burtea, Aug 25 2019
CROSSREFS
KEYWORD
AUTHOR
Altug Alkan and Rémy Sigrist, Aug 25 2019
STATUS
approved