OFFSET
1,2
PROG
(PARI) a(n)=my(N=1); n+1+sum(i=1, n, logint(N*=6, 4)); \\ Charles R Greathouse IV, Jan 16 2018
(PARI) first(n)=my(s, N=1/6); vector(n+1, i, s+=logint(N*=6, 4)+1) \\ Charles R Greathouse IV, Jan 16 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved