A131613 Numbers k such that the decimal expansion of 3^k contains no 9.
0, 1, 3, 4, 5, 7, 8, 11, 12, 16, 19, 20, 21, 29, 32, 56
Offset: 1
Crossrefs
Programs
-
Magma
[n: n in [0..1000] | not 9 in Intseq(3^n) ]; // Vincenzo Librandi, May 06 2015
-
Mathematica
Join[{0}, Select[ Range@10000, FreeQ[ IntegerDigits[3^# ], 9] &]]
Extensions
Adapted Mma and initial 0 added by Vincenzo Librandi, May 06 2015
Comments