login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139267 Twice octagonal numbers: 2*n*(3*n-2). 12
0, 2, 16, 42, 80, 130, 192, 266, 352, 450, 560, 682, 816, 962, 1120, 1290, 1472, 1666, 1872, 2090, 2320, 2562, 2816, 3082, 3360, 3650, 3952, 4266, 4592, 4930, 5280, 5642, 6016, 6402, 6800, 7210, 7632, 8066, 8512, 8970, 9440, 9922 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Sequence found by reading the line from 0, in the direction 0, 2,..., in the square spiral whose vertices are the generalized pentagonal numbers A001318. Opposite numbers to the members of A033580 in the same spiral. - Omar E. Pol, Sep 09 2011

After 0, a(n) = sum( 12i+2, i=0..n-1 ). - Bruno Berselli, Sep 11 2013

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (3,-3,1).

FORMULA

a(n) = A000567(n)*2 = 6*n^2-4n = 2n(3n-2).

a(n) = 12*n+a(n-1)-10, with n>0, a(0)=0. - Vincenzo Librandi, Aug 03 2010

G.f.: x*(2+10*x)/(1-3*x+3*x^2-x^3). - Colin Barker, Jan 06 2012

MATHEMATICA

s=0; lst={s}; Do[s+ = n; AppendTo[lst, s], {n, 2, 6!, 12}]; lst (* Vladimir Joseph Stephan Orlovsky, Apr 02 2009 *)

Table[2*n*(3*n - 2), {n, 0, 50}] (* G. C. Greubel, Jun 07 2017 *)

PROG

(PARI) a(n)=2*n*(3*n-2) \\ Charles R Greathouse IV, Oct 07 2015

CROSSREFS

Cf. A000567, A017545.

Cf. numbers of the form n*(n*k-k+4))/2 listed in A226488 (this sequence is the case k=12).

Sequence in context: A034507 A211620 A023638 * A254855 A181340 A275032

Adjacent sequences:  A139264 A139265 A139266 * A139268 A139269 A139270

KEYWORD

nonn,easy

AUTHOR

Omar E. Pol, May 14 2008, May 19 2008

STATUS

approved

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 August 19 18:33 EDT 2019. Contains 326133 sequences. (Running on oeis4.)