OFFSET
1,5
COMMENTS
For n < 10^5, values of a(n) such that a(n) = a(n + k) for all k = 1..6 are 2^4, 2^5, .., 2^14, 2^15.
LINKS
Altug Alkan, Table of n, a(n) for n = 1..10000
Altug Alkan, Line graph of A283426
MATHEMATICA
a[1] = a[2] = a[3] = a[4] = 1; a[n_] := a[n] = a[n - a[n - 2] - 1] + a[n - a[n - 4] - 2]; Array[a, 74] (* Michael De Vlieger, May 15 2017 *)
PROG
(PARI) q=vector(10000); q[1]=q[2]=q[3]=q[4]=1; for(n=5, #q, q[n]=q[n-1-q[n-2]]+q[n-2-q[n-4]]); vector(10000, n, q[n])
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Altug Alkan, May 15 2017
STATUS
approved