login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065056 Partial sums of Recamán's sequence A005132. 5
0, 1, 4, 10, 12, 19, 32, 52, 64, 85, 96, 118, 128, 151, 160, 184, 192, 217, 260, 322, 364, 427, 468, 486, 528, 545, 588, 604, 648, 663, 708, 722, 768, 847, 960, 1038, 1152, 1229, 1268, 1346, 1384, 1463, 1500, 1580, 1616, 1697, 1732, 1814, 1848 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Conjecture: lim n-->oo a(n)/n^2 exists and is about 0.8... - Benoit Cloitre, May 04 2020
LINKS
MATHEMATICA
rr = {0}; r[0] = 0;
r[n_] := r[n] = Module[{r1, rn}, r1 = r[n-1]; rn = If[r1-n >= 0 && FreeQ[rr, r1-n], r1-n, r1+n]; AppendTo[rr, rn]; rn];
Table[r[n], {n, 0, 100}] // Accumulate (* Jean-François Alcover, Aug 31 2022 *)
CROSSREFS
Cf. A005132.
Sequence in context: A310342 A310343 A199765 * A310344 A310345 A310346
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 07 2001
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)