|
|
|
|
168, 337, 506, 675, 844, 1013, 1182, 1351, 1520, 1689, 1858, 2027, 2196, 2365, 2534, 2703, 2872, 3041, 3210, 3379, 3548, 3717, 3886, 4055, 4224, 4393, 4562, 4731, 4900, 5069, 5238, 5407, 5576, 5745, 5914, 6083, 6252, 6421, 6590, 6759, 6928, 7097, 7266
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The identity (169*n-1)^2-(1169*n^2-2*n)*(13)^2=1 can be written as a(n)^2-A158218(n)*(13)^2=1.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*a(n-1)-a(n-2).
G.f.: x*(168+x)/(1-x)^2.
|
|
MATHEMATICA
|
LinearRecurrence[{2, -1}, {168, 337}, 50]
|
|
PROG
|
(Magma) I:=[168, 337]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]];
(PARI) a(n) = 169*n - 1.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|