login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Powers of 8 without the digit '0' in their decimal expansion.
3

%I #12 Nov 11 2022 04:38:13

%S 1,8,64,512,32768,262144,16777216,134217728,8589934592,68719476736,

%T 549755813888,2251799813685248,4722366482869645213696,

%U 2417851639229258349412352

%N Powers of 8 without the digit '0' in their decimal expansion.

%C Conjectured to be finite.

%t Select[8^Range[0, 2*10^5], DigitCount[#, 10, 0]==0 &]

%o (Magma) [8^n: n in [0..3*10^4] | not 0 in Intseq(8^n)];

%o (Python)

%o from itertools import count, islice

%o def A245852_gen(): # generator of terms

%o return filter(lambda n:not '0' in str(n),(1<<3*n for n in count(0)))

%o A245852_list = list(islice(A245852_gen(),10)) # _Chai Wah Wu_, Nov 10 2022

%Y Subsequence of A001018.

%Y Cf. similar sequences listed in A245853.

%K nonn,base

%O 1,2

%A _Vincenzo Librandi_, Aug 04 2014