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.
%I A139126 #2 Mar 30 2012 17:22:47 %S A139126 0,7,7,18,19,90,91,271,1751,18807,56589,56589,56589,56589,899791, %T A139126 899791,2814790,7635171,7635171,39727671,99530619,233093807,233093807, %U A139126 233093807,233093807 %N A139126 Least k such that the last n decimal digits of 2^k are all powers of 2. %C A139126 Does k exist for all n? This sequence is inspired by A130693, which lists all known powers of 2 whose digits are all powers of 2 (that is, 1, 2, 4, or 8). %e A139126 2^19=524288 is the least power of 2 ending with 5 digits that are powers of 2. %t A139126 k=1; Join[{0}, Table[k--; pwr=PowerMod[2,k,10^n]; While[k++; pwr=Mod[2*pwr,10^n]; d=Union[IntegerDigits[pwr,10,n]]; Intersection[d,{3,5,6,7,9,0}]!={}]; k, {n,2,10}]] %K A139126 base,nonn %O A139126 1,2 %A A139126 _T. D. Noe_, Apr 08 2008