Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120328
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120328 n^2+(n+1)^2+(n+2)^2. +0
1
2, 5, 14, 29, 50, 77, 110, 149, 194, 245, 302, 365, 434, 509, 590, 677, 770, 869, 974, 1085, 1202, 1325, 1454, 1589, 1730, 1877, 2030, 2189, 2354, 2525, 2702, 2885, 3074, 3269, 3470, 3677, 3890, 4109, 4334, 4565, 4802, 5045, 5294, 5549, 5810, 6077, 6350 (list; graph; listen)
OFFSET

-1,1

FORMULA

a(n)=A005918(n+1), n>=0. O.g.f.: (2-x+5x^2)/(x(1-x)^3). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 07 2008]

a(n)=6*n+a(n-1)-9 (with a(1)=2) [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Nov 17 2009]

EXAMPLE

For n=2, a(2)=6*2+2-9=5; n=3, a(3)=6*3+5-9=14; n=4, a(4)=6*4+14-9=29 [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Nov 17 2009]

MAPLE

[seq (n^2+(n+1)^2+(n+2)^2, n=-1..45)];

MATHEMATICA

lst={}; Do[a=(n^2+(n+1)^2+(n+2)^2); AppendTo[lst, a], {n, 0, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 25 2009]

PROGRAM

sage: [i^2+(i+1)^2+(i+2)^2 for i in xrange(-1, 46)] - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jul 03 2008

CROSSREFS

Cf. A027602.

Sequence in context: A022630 A047133 A031874 this_sequence A026011 A022913 A056358

Adjacent sequences: A120325 A120326 A120327 this_sequence A120329 A120330 A120331

KEYWORD

easy,nonn,new

AUTHOR

Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jun 21 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research