%I #10 Sep 08 2022 08:45:31
%S 0,1,2,3,5,6,8,10,11,12,13,16,17,19,21,33,36,51,55,56,100
%N Numbers k such that the decimal expansion of 3^k contains no 8.
%C I conjecture that 100 is the last term.
%t Join[{0}, Select[ Range@10000, FreeQ[ IntegerDigits[3^# ], 8] &]
%o (Magma) [n: n in [0..1000] | not 8 in Intseq(3^n) ]; // _Vincenzo Librandi_, May 06 2015
%Y Cf. similar sequences listed in A131613.
%Y Cf. A007377.
%K base,fini,nonn
%O 1,3
%A _Shyam Sunder Gupta_, Sep 01 2007
%E Adapted Mma and initial 0 added by _Vincenzo Librandi_, May 06 2015