login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A157609
2662n - 22.
3
2640, 5302, 7964, 10626, 13288, 15950, 18612, 21274, 23936, 26598, 29260, 31922, 34584, 37246, 39908, 42570, 45232, 47894, 50556, 53218, 55880, 58542, 61204, 63866, 66528, 69190, 71852, 74514, 77176, 79838, 82500, 85162, 87824, 90486
OFFSET
1,1
COMMENTS
The identity (29282*n^2-484*n+1)^2-(121*n^2-2*n)*(2662*n-22)^2=1 can be written as A157610(n)^2-A157040(n)*a(n)^2=1.
FORMULA
a(n) = 2*a(n-1)-a(n-2) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f: x*(2640+22*x)/(x-1)^2.
MATHEMATICA
LinearRecurrence[{2, -1}, {2640, 5302}, 40]
PROG
(Magma) I:=[2640, 5302]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..40]];
(PARI) a(n) = 2662*n - 22.
CROSSREFS
Sequence in context: A273184 A252579 A253040 * A249462 A257183 A257190
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 03 2009
STATUS
approved