reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
N. J. A. Sloane, <a href="/wiki/Catalog_of_Toothpick_and_CA_Sequences_in_OEIS">Catalog of Toothpick and Cellular Automata Sequences in the OEIS</a>.
<a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>
<a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>.
Sum_{n>=1} 1/a(n) = Pi^2/48 + tan(Pi/(2*sqrt(2)))*Pi /(4*sqrt(2)). - Amiram Eldar, Jan 16 2023
approved
editing
(MAGMAMagma) [2*n^2 - (n mod 2): n in [0..50]]; // Vincenzo Librandi, Sep 22 2011
reviewed
approved
proposed
reviewed
editing
proposed
This sequence arises from reading the line from 0, in the direction 0, 1, ... and the same line from 0, in the direction 0, 8, ..., in the square spiral whose vertices are the triangular numbers A000217. Cf. A139591, etc. - Omar E. Pol, May 03 2008
a(2n) = 8*n^2, a(2n+1) = 8*n(n+1) + 1.
From Ralf Stephan, Mar 31 2003: (Start)
a(n) = 2*n^2 + 4*n + 1 [+1 if n is odd] with a(0)=1. G.f.: x*(x^2+6*x+1)/(1-x)^3/(1+x). - _Ralf Stephan_, Mar 31 2003
G.f.: x*(x^2+6*x+1)/(1-x)^3/(1+x). (End)
Row sums of triangle A131925; binomial transform of (1, 7, 2, 4, -8, 16, -32, ...). - Gary W. Adamson, Jul 29 2007
a(n) = a(-n); a(n+1) = A195605(n) - (-1)^n. - Bruno Berselli, Sep 22 2011
a(n) = 2*n^2 + ((-1)^n-1)/2. - Omar E. Pol, Sep 28 2011
approved
editing
proposed
approved