|
| |
| |
|
|
|
17, 33, 49, 65, 81, 97, 113, 129, 145, 161, 177, 193, 209, 225, 241, 257, 273, 289, 305, 321, 337, 353, 369, 385, 401, 417, 433, 449, 465, 481, 497, 513, 529, 545, 561, 577, 593, 609, 625, 641, 657, 673, 689, 705, 721
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| The identity (16*n+1)^2-(16*n^2+2*n)*(4)^2 = 1 can be written as a(n)^2-A158056(n)*(4)^2 = 1. - Vincenzo Librandi, Feb 09 2012
|
|
|
LINKS
| Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Index to sequences with linear recurrences with constant coefficients, signature (2,-1).
|
|
|
FORMULA
| a(n) = 2*a(n-1)-a(n-2).
G.f.: x*(17-x)/(1-x)^2.
|
|
|
MATHEMATICA
| LinearRecurrence[{2, -1}, {17, 33}, 50]
Table[16*n+1, {n, 6!}] [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Mar 10 2010]
|
|
|
PROG
| (MAGMA) I:=[17, 33]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]];
(PARI) a(n)=n<<4+1 \\ Charles R Greathouse IV, Dec 23 2011
|
|
|
CROSSREFS
| Cf. A158056.
Sequence in context: A138393 A044062 A044443 * A116523 A168579 A135637
Adjacent sequences: A158054 A158055 A158056 * A158058 A158059 A158060
|
|
|
KEYWORD
| nonn,easy,changed
|
|
|
AUTHOR
| Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Mar 12 2009
|
| |
|
|