login
a(n+1) is the smallest number not of the form a(i), a(i) + a(n-1), or |a(i) - a(n-1)|.
0

%I #17 Oct 30 2018 03:32:39

%S 1,2,4,7,10,5,8,11,14,17,20,23,26,13,16,19,22,25,28,31,34,37,40,43,46,

%T 49,52,55,58,29,32,35,38,41,44,47,50,53,56,59,62,65,68,71,74,77,80,83,

%U 86,89,92,95,98,101,104,107,110,113,116,119,122,61,64,67,70,73,76,79

%N a(n+1) is the smallest number not of the form a(i), a(i) + a(n-1), or |a(i) - a(n-1)|.

%H C. Meyer, <a href="http://meyer-idstein.de/article_sequence.pdf">On conjecture 58 arising from the OEIS</a>, 2004.

%F a(n) = 3n + 3 - 2*2^floor(log_2(n+2)), for n > 2.

%F Recurrence: a(n)=b(n+2), with b(0)=0, b(2n)=2b(n)+3, b(2n+1)=2b(n)+6-8[n==0].

%K nonn

%O 1,2

%A _Erich Friedman_