%I #10 Mar 03 2015 00:00:17
%S 1,2,5,6,9,12,15,16,19,22,25,28,31,34,37,38,41,44,47,50,53,56,59,62,
%T 65,68,71,74,77,80,83,84,87,90,93,96,99,102,105,108,111,114,117,120,
%U 123,126,129,132,135,138,141,144,147,150,153,156,159,162
%N Geometric Connell sequence: start with 1; then next two numbers == 2 mod 3; next four == 3 mod 3; next eight == 1 mod 3; etc.
%H R. Stephan, <a href="/somedcgf.html">Some divide-and-conquer sequences ...</a>
%H R. Stephan, <a href="/A079944/a079944.ps">Table of generating functions</a>
%F a(n) = 3n - 2*(1 + floor(log_2(n)).
%Y Cf. A049039, A050488.
%K easy,nonn
%O 1,2
%A _James A. Sellers_, Dec 26 1999
%E More terms from _Ralf Stephan_, Oct 11 2003
|