login
Term at which last number of height n occurs in Recamán's sequence A005132.
7

%I #10 Mar 30 2014 03:54:40

%S 1,4,5,16,31,64,131,222,403,770,1409,2652,4825,9078,16773,30768,56827,

%T 99734,181653,328002,588583,1032996,1787013,3220128,5771203,10201340,

%U 18394609,32144188,58055311,101762018,173367175,302844912,511518279,904032692

%N Term at which last number of height n occurs in Recamán's sequence A005132.

%C The height of a term in A005132 = number of addition steps - number of subtraction steps to produce it.

%H N. J. A. Sloane, <a href="/A005132/a005132.txt">FORTRAN program for A005132, A057167, A064227, A064228</a>

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

%Y Cf. A005132, A064290, A064292, A064293. This sequence and A064492 keep pretty close together.

%K nonn

%O 1,2

%A _N. J. A. Sloane_, Sep 26 2001