login

%I #14 Apr 11 2014 00:22:16

%S 1,3,2,5,15,9,6,30,20,17,63,57,51,45,35,21,98,92,66,72,38,110,103,109,

%T 25,31,10,16,2,126,36,169,163,157,151,145,139,45,35,101,182,21,32,133,

%U 187,105,123,193,23,29,8,14,3,2,75,284,278,272,266,260,254,248,226,232,100,260,254,248,226,232,306,138,144,150,156,162,168,34,65,117,228,234

%N A057167(A005132(A187922(n) - 1) - A187922(n)).

%C Let x = A187922(n) and r = A005132(x-1) - x, by definition of A187922: r > 0 and r occurs earlier in Recamán's sequence: a(n) = A057167(r) or r = A005132(a(n)), hence A005132(x) <> r but A005132(x) = A005132(x-1) - x.

%H Reinhard Zumkeller, <a href="/A187943/b187943.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Rea#Recaman">Index entries for sequences related to Recamán's sequence</a>

%e n = 5: x = A187922(5) = 19, r = A005132(19-1) - 19 = 43 - 19 = 24 = A005132(15): a(5) = 15.

%Y Cf. A057165, A057167.

%K nonn,look

%O 1,2

%A _Reinhard Zumkeller_, Mar 17 2011