|
|
A156841
|
|
529n^2 - 312n + 46.
|
|
4
|
|
|
46, 263, 1538, 3871, 7262, 11711, 17218, 23783, 31406, 40087, 49826, 60623, 72478, 85391, 99362, 114391, 130478, 147623, 165826, 185087, 205406, 226783, 249218, 272711, 297262, 322871, 349538, 377263, 406046, 435887, 466786, 498743, 531758
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
The identity (279841*n^2-165048*n+24335)^2-(529*n^2-312*n+46)*(12167*n-3588)^2=1 can be written as A156843(n)^2-a(n)*A156846(n)^2=1 for n>0.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f.: (46+125*x+887*x^2)/(1-x)^3.
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {46, 263, 1538}, 40]
|
|
PROG
|
(Magma) I:=[46, 263, 1538]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|