OFFSET
1,3
LINKS
Altug Alkan, Table of n, a(n) for n = 1..10000
Altug Alkan, Alternative Scatterplot of A283451
EXAMPLE
a(7) = -3 because -1 + 1 - 2 + 3 - 3 + 4 - 5 = -3.
PROG
(PARI) a=vector(1000); a[1]=a[2]=1; for(n=3, #a, a[n]=a[n-a[n-1]]+a[n-a[n-2]]); va = vector(#a, n, sum(k=1, n, (-1)^(k)*a[k]))
CROSSREFS
KEYWORD
sign,look
AUTHOR
Altug Alkan, Mar 07 2017
STATUS
approved