OFFSET
1,3
EXAMPLE
Here is 2^108, conjecturally the largest power of 2 that does not contain a 9: 324518553658426726783156020576256. - N. J. A. Sloane, Feb 10 2023
MATHEMATICA
Join[{0}, Select[Range@ 1000, FreeQ[IntegerDigits[2^#], 9] &]] (* Vincenzo Librandi, May 06 2015 *)
PROG
(Magma) [n: n in [0..1000] | not 9 in Intseq(2^n) ]; // Vincenzo Librandi, May 06 2015
(PARI) A035064 = select( is_A035064(n)=vecmax(digits(2^n))<9, [0..199]) \\ M. F. Hasler, Jul 09 2025
(Python) (A035064:=[n for n in range(123) if max(str(2**n))<'9']) # M. F. Hasler, Jul 09 2025
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Patrick De Geest, Nov 15 1998
EXTENSIONS
Initial 0 added by Vincenzo Librandi, May 06 2015
Removed keyword "fini" at the suggestion of Nathan Fox, since it is only a conjecture that this sequence contains only finitely many terms. - N. J. A. Sloane, Mar 03 2016
STATUS
approved
