cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A063616 Smallest k >= 0 such that 8^k has exactly n 0's in its decimal representation.

This page as a plain text file.
%I A063616 #8 Jun 19 2018 05:56:15
%S A063616 0,4,14,23,42,33,35,34,63,66,87,116,84,101,126,164,128,102,135,143,
%T A063616 149,155,203,224,186,204,210,237,261,218,219,286,257,266,361,355,336,
%U A063616 302,374,339,371,398,340,409,348,388,494,436,407,406,439
%N A063616 Smallest k >= 0 such that 8^k has exactly n 0's in its decimal representation.
%t A063616 a = {}; Do[k = 0; While[ Count[ IntegerDigits[8^k], 0] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
%o A063616 (PARI) A063616(n)=for(k=0, oo, #select(d->!d, digits(8^k))==n&&return(k)) \\ _M. F. Hasler_, Jun 14 2018
%Y A063616 Cf. A031146 (analog for 2^k), A063555 (analog for 3^k), A063575 (analog for 4^k), A063585 (for 5^k), A063596 (analog for 6^k), A063606 (analog for 7^k).
%K A063616 base,nonn
%O A063616 0,2
%A A063616 _Robert G. Wilson v_, Aug 10 2001
%E A063616 a(0) changed to 0 (as in A031146, A063555, ...) and better title from _M. F. Hasler_, Jun 14 2018