OFFSET
1,3
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..512
PROG
(PARI) r=0; v=List([0, 1]); 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, n); print("a("#v") = "n", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Charles R Greathouse IV, Dec 13 2016
STATUS
approved