A030702 - OEIS (original) (raw)

A030702

Decimal expansion of 6^n contains no zeros (probably finite).

27

0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 17, 24, 29, 44

LINKS

Eric Weisstein's World of Mathematics, Zero

MATHEMATICA

Select[Range[50], FreeQ[IntegerDigits[6^#], 0]&] (* Harvey P. Dale, Feb 26 2017 *)

PROG

(PARI) for(n=0, 199, vecmin(digits(6^n))&& print1(n", ")) \\ M. F. Hasler, Mar 07 2014

(Magma) [n: n in [0..500] | not 0 in Intseq(6^n)]; // Vincenzo Librandi, Mar 08 2014

EXTENSIONS

Offset corrected and initial 0 added by M. F. Hasler, Mar 07 2014