OFFSET
0,4
FORMULA
PROG
(PARI) alist(N) = my(a=-1, b=1, k=0); vector(N, i, a+=2; b*=3; if(logint(b, 2) < a, a++; b*=3; k++); k); \\ note that i is n+1
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Ruud H.G. van Tol, Jan 25 2024
STATUS
proposed