login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A320859
Powers of 2 with initial digit 3.
7
32, 32768, 33554432, 34359738368, 35184372088832, 36028797018963968, 36893488147419103232, 37778931862957161709568, 302231454903657293676544, 38685626227668133590597632, 309485009821345068724781056, 39614081257132168796771975168, 316912650057057350374175801344
OFFSET
1,1
FORMULA
a(n) = 2^A172404(n).
MAPLE
select(x->"3"=""||x[1], [2^n$n=0..120])[];
MATHEMATICA
Select[2^Range[0, 100], First[IntegerDigits[#]] == 3 &] (* G. C. Greubel, Oct 24 2018 *)
PROG
(GAP) Filtered(List([0..120], n->2^n), i->ListOfDigits(i)[1]=3);
(Magma) [2^n: n in [1..100] | Intseq(2^n)[#Intseq(2^n)] eq 3]; // G. C. Greubel, Oct 24 2018
(PARI) lista(nn) = {for(n=1, nn, x = 2^n; if (digits(x=2^n)[1] == 3, print1(x, ", ")); ); } \\ Michel Marcus, Oct 25 2018
CROSSREFS
Cf. A000079 (Powers of 2), A008952 (leading digit of 2^n).
Powers of 2 with initial digit k, (k = 1..4): A067488, A067480, this sequence, A320860.
Cf. A172404.
Sequence in context: A245291 A016937 A074800 * A285389 A159396 A362175
KEYWORD
base,nonn
AUTHOR
Muniru A Asiru, Oct 22 2018
STATUS
approved