The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067480 Powers of 2 with initial digit 2. 23
2, 256, 2048, 262144, 2097152, 268435456, 2147483648, 274877906944, 2199023255552, 281474976710656, 2251799813685248, 288230376151711744, 2305843009213693952, 295147905179352825856, 2361183241434822606848, 2417851639229258349412352, 2475880078570760549798248448 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Table[2^n, {n, 75}], First@IntegerDigits[#]==2 &] (* Jayanta Basu, May 19 2013 *)
Select[2^Range[100], First[IntegerDigits[#]]==2 &] (* Vincenzo Librandi, Oct 22 2018 *)
PROG
(PARI) lista(nn) = {for (n=0, nn, if (digits(x=2^n)[1] == 2, print1(x, ", ")); ); } \\ Michel Marcus, Oct 20 2018
(GAP) k:=2;; Filtered(List([0..100], n->k^n), i->ListOfDigits(i)[1]=k); # Muniru A Asiru, Oct 19 2018
(Magma) [2^n: n in [1..100] | Intseq(2^n)[#Intseq(2^n)] eq 2]; // Vincenzo Librandi, Oct 22 2018
CROSSREFS
Sequence in context: A370965 A078167 A004875 * A062077 A190539 A325051
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Feb 09 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 04:51 EDT 2024. Contains 373207 sequences. (Running on oeis4.)