|
|
A087120
|
|
Smallest numbers having in binary representation exactly n maximal groups of consecutive zeros.
|
|
3
|
|
|
1, 0, 10, 42, 170, 682, 2730, 10922, 43690, 174762, 699050, 2796202, 11184810, 44739242, 178956970, 715827882, 2863311530, 11453246122, 45812984490, 183251937962, 733007751850, 2932031007402, 11728124029610, 46912496118442
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(0)=1, a(1)=0, a(2)=10, a(n)=4*a(n-1)+2.
|
|
MATHEMATICA
|
Join[{1, 0}, NestList[4#+2&, 10, 25]] (* Harvey P. Dale, Apr 20 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|