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
1, 2, 4, 8, 22, 50, 100, 296, 598, 1298, 4132, 8264, 16534, 33170, 91012, 206696, 415030, 1249394, 2498884, 5390984, 17073526, 34173266, 68764420, 137922056, 376926742, 861226034, 1729136740, 5169575720, 10339177558, 22389655826 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..30.

PROG

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

CROSSREFS

Sequence in context: A155765 A217975 A027385 * A002075 A293912 A122623

Adjacent sequences:  A158321 A158322 A158323 * A158325 A158326 A158327

KEYWORD

base,nonn

AUTHOR

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

STATUS

approved

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 March 29 05:32 EDT 2020. Contains 333105 sequences. (Running on oeis4.)