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



(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141126 a(n+1)=a(n)-n^2 if positive and new, else a(n+1)=a(n)+n^2; a(0)=1. 2


%S 1,1,2,6,15,31,56,20,69,5,86,186,65,209,40,236,11,267,556,232,593,193,

%T 634,150,679,103,728,52,781,1565,724,1624,663,1687,598,1754,529,1825,

%U 456,1900,379,1979,298,2062,213,2149,124,2240,4449,2145,4546,2046,4647

%N a(n+1)=a(n)-n^2 if positive and new, else a(n+1)=a(n)+n^2; a(0)=1.

%H Indranil Ghosh, <a href="/A141126/b141126.txt">Table of n, a(n) for n = 0..50000</a> (terms 0..240 from R. Zumkeller)

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

%Y Cf. A063733.

%K nonn

%O 0,3

%A _Reinhard Zumkeller_, Jun 05 2008

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 29 18:27 EDT 2020. Contains 337432 sequences. (Running on oeis4.)