OFFSET
1,2
COMMENTS
The asymptotic density of this sequence is log_10(3/2) = 0.176091... (A154580 - 1). - Amiram Eldar, Jan 27 2021
LINKS
Muniru A Asiru, Table of n, a(n) for n = 1..5000
MATHEMATICA
Select[Range@ 310, First@ IntegerDigits[2^#] == 2 &] (* Michael De Vlieger, Oct 15 2018 *)
PROG
(PARI) is(n)=digits(2^n)[1]==2 \\ Charles R Greathouse IV, Jul 29 2013
(GAP) Filtered([1..310], n->ListOfDigits(2^n)[1]=2); # Muniru A Asiru, Oct 14 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Feb 22 2002
STATUS
approved