Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121968
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121968 a(n) = 2*a(n - 1) - a(n - 2) + n + 1. +0
2
1, 2, 6, 14, 27, 46, 72, 106, 149, 202, 266, 342, 431, 534, 652, 786, 937, 1106, 1294, 1502, 1731, 1982, 2256, 2554, 2877, 3226, 3602, 4006, 4439, 4902, 5396, 5922, 6481, 7074, 7702, 8366, 9067, 9806, 10584, 11402, 12261, 13162, 14106, 15094, 16127 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n) = (6 + n(-1 + n(6 + n)))/6 = C(n+1, 3) + n^2 + 1 = C(n+2, 3) + C(n, 2) + 1.

G.f. (1 - 2x + 4x^2 - 2x^3)/(x - 1)^4. - Robert G. Wilson v

MATHEMATICA

f[n_] := (6 + n(-1 + n(6 + n)))/6; Table[f[n], {n, 0, 45}] (* or *)

a[0] = 1; a[1] = 2; a[n_] := a[n] = 2a[n - 1] - a[n - 2] + n + 1; Table[ a[n], {n, 0, 45}] (* or *)

CoefficientList[ Series[(1 - 2x + 4x^2 - 2x^3)/(x - 1)^4, {x, 0, 45}], x] (* Robert G. Wilson v *)

CROSSREFS

Cf. cake numbers A000125.

Sequence in context: A068042 A068041 A101586 this_sequence A033547 A050531 A027083

Adjacent sequences: A121965 A121966 A121967 this_sequence A121969 A121970 A121971

KEYWORD

nonn

AUTHOR

Roger Bagula (rlbagulatftn(AT)yahoo.com), Sep 04 2006

EXTENSIONS

Edited and extended by Robert G. Wilson v Sep 11 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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research