|
| |
| |
|
|
|
98, 396, 894, 1592, 2490, 3588, 4886, 6384, 8082, 9980, 12078, 14376, 16874, 19572, 22470, 25568, 28866, 32364, 36062, 39960, 44058, 48356, 52854, 57552, 62450, 67548, 72846, 78344, 84042, 89940, 96038, 102336, 108834, 115532, 122430, 129528
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
LINKS
| Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Index to sequences with linear recurrences with constant coefficients, signature (3,-3,1).
|
|
|
FORMULA
| a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f.: x*(98+102*x)/(1-x)^3.
|
|
|
MATHEMATICA
| Table[100n^2-2n, {n, 50}]
|
|
|
PROG
| (MAGMA) I:=[98, 396, 894]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..50]];
(PARI) a(n) = 100*n^2 - 2n.
|
|
|
CROSSREFS
| Sequence in context: A195751 A072607 A160828 * A071319 A203083 A202370
Adjacent sequences: A158126 A158127 A158128 * A158130 A158131 A158132
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Mar 13 2009
|
| |
|
|