swestrup: (Default)
[personal profile] swestrup
Does the sequence

  2, 5, 11, 23, 47, 95, 191, 383, 767, 1535, 3071, 6143, 12287, ...

look familiar to anyone? I need to figure out how to generate it.

EDIT: Never mind, its obvious. Each element is one more than double the previous. Duh. I should have seen it earlier.

Later Edit: It turns out this sequence is known as the Thâbit ibn Kurrah Numbers, and are generated by the formula 3*2^(n-1)-1. Its the last puzzle piece I needed to complete [livejournal.com profile] sps's logarithmic thinning algorithm.

January 2017

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 13th, 2026 06:25 pm
Powered by Dreamwidth Studios