OFFSET
1,4
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..512
PROG
(PARI) r=0; v=List([-1, 0]); u=["", -1, 0]; for(n=2, 1e10, u=[u[2], u[3], (2*valuation(n-1, 2)+1)*u[3] - u[2]]; if(u[3]>r, r=u[3]; listput(v, t); print("a("#v") = "t", ")))
CROSSREFS
KEYWORD
sign
AUTHOR
Charles R Greathouse IV, Dec 13 2016
STATUS
approved