cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A130693 Powers of 2 whose digits are powers of 2.

This page as a plain text file.
%I A130693 #18 Jul 23 2021 03:31:24
%S A130693 1,2,4,8,128
%N A130693 Powers of 2 whose digits are powers of 2.
%C A130693 It is unknown if there are any other powers of 2 with this property (that is, the digits are composed only of the numbers 1,2,4,8).
%C A130693 No more powers of 2 with this property up to 2^(70000) (Saunders, J. of Recreational Mathematics, v. 26, p. 151). - _Emeric Deutsch_, Jul 15 2007
%C A130693 By looking at just the lowest 20 digits of the powers of 2, the Mathematica program shows that there are no other terms less than 2^10000000. - _T. D. Noe_, Apr 05 2008
%D A130693 David Wells, "The Penguin Dictionary of Curious and Interesting Numbers" (1997), p. 123.
%p A130693 a := proc (n) if `subset`(convert(convert(2^n, base, 10), set), {1, 2, 4, 8}) then 2^n else end if end proc: seq(a(n), n = 0 .. 300); # _Emeric Deutsch_, Jul 15 2007
%t A130693 pwr=1; Do[pwr=Mod[2*pwr,10^20]; d=Union[IntegerDigits[pwr]]; If[Intersection[d,{3,5,6,7,9,0}]=={}, Print[n]], {n,10000000}] (* _T. D. Noe_, Apr 05 2008 *)
%K A130693 nonn,base
%O A130693 1,2
%A A130693 _Greg Dresden_, Jul 09 2007