A030702 Decimal expansion of 6^n contains no zeros (probably finite).
0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 17, 24, 29, 44
Offset: 1
Links
- W. Schneider, NoZeros: Powers n^k without Digit Zero [Cached copy]
- Eric Weisstein's World of Mathematics, Zero
Programs
-
Magma
[n: n in [0..500] | not 0 in Intseq(6^n)]; // Vincenzo Librandi, Mar 08 2014
-
Mathematica
Select[Range[50],FreeQ[IntegerDigits[6^#],0]&] (* Harvey P. Dale, Feb 26 2017 *)
-
PARI
for(n=0, 199, vecmin(digits(6^n))&& print1(n", ")) \\ M. F. Hasler, Mar 07 2014
Extensions
Offset corrected and initial 0 added by M. F. Hasler, Mar 07 2014