The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A079406 Recamán variation: a(1)=1, then a(n)=a(n-1)-n if n is already in the sequence, a(n)=a(n-1)+n otherwise. 1
 1, 3, 0, 4, 9, 15, 22, 30, 21, 31, 42, 54, 67, 81, 66, 82, 99, 117, 136, 156, 135, 113, 136, 160, 185, 211, 238, 266, 295, 265, 234, 266, 299, 333, 368, 404, 441, 479, 518, 558, 599, 557, 600, 644, 689, 735, 782, 830, 879, 929, 980, 1032, 1085, 1031, 1086, 1142 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Does limit n ->infinity a(n)/n^2 exist? LINKS EXAMPLE 9 is in the sequence, so a(9) = a(8)-9 = 30-9 = 21. CROSSREFS Cf. A005132. Sequence in context: A072329 A068630 A309764 * A068627 A074171 A180657 Adjacent sequences:  A079403 A079404 A079405 * A079407 A079408 A079409 KEYWORD nonn AUTHOR Benoit Cloitre, Feb 16 2003 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 5 19:23 EDT 2020. Contains 333257 sequences. (Running on oeis4.)