login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158324 Successive powers of two, represented as binary coded decimal. (0x1, 0x2, 0x4, 0x8, 0x16, 0x32, etc.) 0

%I

%S 1,2,4,8,22,50,100,296,598,1298,4132,8264,16534,33170,91012,206696,

%T 415030,1249394,2498884,5390984,17073526,34173266,68764420,137922056,

%U 376926742,861226034,1729136740,5169575720,10339177558,22389655826

%N Successive powers of two, represented as binary coded decimal. (0x1, 0x2, 0x4, 0x8, 0x16, 0x32, etc.)

%o (PARI) a(n) = {d = digits(2^(n-1), 10); return (sum(i=1, #d, d[i]*16^(#d-i)));} \\ _Michel Marcus_, Jun 11 2013

%K base,nonn

%O 1,2

%A Joshua Neal (joshua(AT)trochotron.com), Mar 16 2009

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 03:41 EDT 2020. Contains 334647 sequences. (Running on oeis4.)