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