OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
sqrt(a(n)+1) + sqrt(a(n)) = (sqrt(n+1) + sqrt(n))^5.
sqrt(a(n)+1) - sqrt(a(n)) = (sqrt(n+1) - sqrt(n))^5.
From Colin Barker, Dec 25 2018: (Start)
G.f.: x*(1681 + 13676*x + 13686*x^2 + 1676*x^3 + x^4) / (1 - x)^6.
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n>5.
(End)
EXAMPLE
(sqrt(2) + sqrt(1))^5 = 29*sqrt(2) + 41 = sqrt(1682) + sqrt(1681). So a(1) = 1681.
PROG
(PARI) {a(n) = n*(16*n^2+20*n+5)^2}
(PARI) concat(0, Vec(x*(1681 + 13676*x + 13686*x^2 + 1676*x^3 + x^4) / (1 - x)^6 + O(x^30))) \\ Colin Barker, Dec 25 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 25 2018
STATUS
approved
