This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A296065 #15 Oct 21 2021 18:33:34 %S A296065 0,2,3,0,5,0,7,0,9,0,11,0,13,0,15,0,17,0,19,0,21,0,23,0,25,0,27,0,29, %T A296065 0,31,0,33,0,35,0,37,0,39,0,41,0,43,0,45,0,47,0,49,0,51,0,53,0,55 %N A296065 Partial sums of A296064. %C A296065 Essentially the same as A193356. - _R. J. Mathar_, Jan 02 2018 %H A296065 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,2,0,-1). %t A296065 Accumulate@ Nest[Append[#, Block[{k = 1, s = 1}, While[Nand[FreeQ[#, s k], IntegerQ@ Mean[Append[#, s k]]], If[s == 1, s = -1, k++; s = 1]]; s k]] &, {0}, 54] (* _Michael De Vlieger_, Dec 12 2017 *) %t A296065 LinearRecurrence[{0,2,0,-1},{0,2,3,0,5,0},60] (* or *) Join[{0,2},Riffle[ 2*Range[ 30]+1,0]] (* _Harvey P. Dale_, Oct 21 2021 *) %Y A296065 Cf. A296064. %K A296065 nonn,easy %O A296065 1,2 %A A296065 _Enrique Navarrete_, Dec 04 2017