|
|
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
|
|
|
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
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Joshua Neal (joshua(AT)trochotron.com), Mar 16 2009
|
|
STATUS
|
approved
|
|
|
|