login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079406 Recaman 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. 0
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; internal format)
OFFSET

1,2

COMMENTS

Does limit n ->infinity a(n)/n^2 exist ?

EXAMPLE

9 is in the sequence, so a(9)=a(8)-9 = 30-9=21

CROSSREFS

Cf. A005132.

Sequence in context: A181482 A072329 A068630 * A068627 A074171 A180657

Adjacent sequences:  A079403 A079404 A079405 * A079407 A079408 A079409

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Feb 16 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 12:14 EST 2012. Contains 205908 sequences.