# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a032528
Showing 1-1 of 1
%I A032528 #110 Jan 16 2023 08:52:39
%S A032528 0,1,6,13,24,37,54,73,96,121,150,181,216,253,294,337,384,433,486,541,
%T A032528 600,661,726,793,864,937,1014,1093,1176,1261,1350,1441,1536,1633,1734,
%U A032528 1837,1944,2053,2166,2281,2400,2521,2646,2773,2904,3037,3174,3313,3456,3601,3750
%N A032528 Concentric hexagonal numbers: floor(3*n^2/2).
%C A032528 From _Omar E. Pol_, Aug 20 2011: (Start)
%C A032528 Cellular automaton on the hexagonal net. The sequence gives the number of "ON" cells in the structure after n-th stage. A007310 gives the first differences. For a definition without words see the illustration of initial terms in the example section. Note that the cells become intermittent. A083577 gives the primes of this sequences.
%C A032528 A033581 and A003154 interleaved.
%C A032528 Row sums of an infinite square array T(n,k) in which column k lists 2*k-1 zeros followed by the numbers A008458 (see example). (End)
%C A032528 Sequence found by reading the line from 0, in the direction 0, 1, ... and the same line from 0, in the direction 0, 6, ..., in the square spiral whose vertices are the generalized pentagonal numbers A001318. Main axis perpendicular to A045943 in the same spiral. - _Omar E. Pol_, Sep 08 2011
%H A032528 Vincenzo Librandi, Table of n, a(n) for n = 0..10000
%H A032528 Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
%H A032528 Index entries for sequences related to cellular automata.
%F A032528 From _Joerg Arndt_, Aug 22 2011: (Start)
%F A032528 G.f.: (x+4*x^2+x^3)/(1-2*x+2*x^3-x^4) = x*(1+4*x+x^2)/((1+x)*(1-x)^3).
%F A032528 a(n) = +2*a(n-1) -2*a(n-3) +1*a(n-4). (End)
%F A032528 a(n) = (6*n^2+(-1)^n-1)/4. - _Bruno Berselli_, Aug 22 2011
%F A032528 a(n) = A184533(n), n >= 2. - _Clark Kimberling_, Apr 20 2012
%F A032528 First differences of A011934: a(n) = A011934(n) - A011934(n-1) for n>0. - _Franz Vrabec_, Feb 17 2013
%F A032528 From _Paul Curtz_, Mar 31 2019: (Start)
%F A032528 a(-n) = a(n).
%F A032528 a(n) = a(n-2) + 6*(n-1) for n > 1.
%F A032528 a(2*n) = A033581(n).
%F A032528 a(2*n+1) = A003154(n+1). (End)
%F A032528 E.g.f.: (3*x*(x + 1)*cosh(x) + (3*x^2 + 3*x - 1)*sinh(x))/2. - _Stefano Spezia_, Aug 19 2022
%F A032528 Sum_{n>=1} 1/a(n) = Pi^2/36 + tan(Pi/(2*sqrt(3)))*Pi/(2*sqrt(3)). - _Amiram Eldar_, Jan 16 2023
%e A032528 From _Omar E. Pol_, Aug 20 2011: (Start)
%e A032528 Using the numbers A008458 we can write:
%e A032528 0, 1, 6, 12, 18, 24, 30, 36, 42, 48, 54, ...
%e A032528 0, 0, 0, 1, 6, 12, 18, 24, 30, 36, 42, ...
%e A032528 0, 0, 0, 0, 0, 1, 6, 12, 18, 24, 30, ...
%e A032528 0, 0, 0, 0, 0, 0, 0, 1, 6, 12, 18, ...
%e A032528 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 6, ...
%e A032528 And so on.
%e A032528 ===========================================
%e A032528 The sums of the columns give this sequence:
%e A032528 0, 1, 6, 13, 24, 37, 54, 73, 96, 121, 150, ...
%e A032528 ...
%e A032528 Illustration of initial terms as concentric hexagons:
%e A032528 .
%e A032528 . o o o o o
%e A032528 . o o o o o o
%e A032528 . o o o o o o o o o o
%e A032528 . o o o o o o o o o o o o
%e A032528 . o o o o o o o o o o o o o o o
%e A032528 . o o o o o o o o o o o o
%e A032528 . o o o o o o o o o o
%e A032528 . o o o o o o
%e A032528 . o o o o o
%e A032528 .
%e A032528 . 1 6 13 24 37
%e A032528 .
%e A032528 (End)
%t A032528 f[n_, m_] := Sum[Floor[n^2/k], {k, 1, m}]; t = Table[f[n, 2], {n, 1, 90}] (* _Clark Kimberling_, Apr 20 2012 *)
%o A032528 (Magma) [Floor(3*n^2/2): n in [0..50]]; // _Vincenzo Librandi_, Aug 21 2011
%o A032528 (Haskell)
%o A032528 a032528 n = a032528_list !! n
%o A032528 a032528_list = scanl (+) 0 a007310_list
%o A032528 -- _Reinhard Zumkeller_, Jan 07 2012
%o A032528 (PARI) a(n)=3*n^2\2 \\ _Charles R Greathouse IV_, Sep 24 2015
%Y A032528 Cf. A003154, A007310, A008458, A033581, A083577, A000326, A001318, A005449, A045943, A032527, A195041. Column 6 of A195040.
%Y A032528 Cf. A004524, A004525, A033436, A212959, A238410, A227017, A282513.
%Y A032528 Cf. A033581, A003154, A011934, A184533.
%K A032528 nonn,easy
%O A032528 0,3
%A A032528 _N. J. A. Sloane_
%E A032528 New name and more terms a(41)-a(50) from _Omar E. Pol_, Aug 20 2011
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE