OFFSET
0,2
COMMENTS
One of 10 linear second-order recurrence sequences satisfying (a(n)*a(n-1)-1) * (a(n)*a(n+1)-1) = (a(n)+1)^4 and together forming A350916.
LINKS
Index entries for linear recurrences with constant coefficients, signature (17,-17,1).
FORMULA
G.f.: (1 - 14*x + 9*x^2)/((1 - x)*(1 - 16*x + x^2)). - Stefano Spezia, Jan 22 2022
MATHEMATICA
nxt[{a_, b_}]:={b, 16b-a-4}; NestList[nxt, {1, 3}, 20][[All, 1]] (* or *) LinearRecurrence[ {17, -17, 1}, {1, 3, 43}, 20] (* Harvey P. Dale, Jan 08 2023 *)
PROG
(Python)
a350924 = [1, 3]
for k in range(2, 100): a350924.append(16*a350924[k-1]-a350924[k-2]-4)
print(a350924) # Karl-Heinz Hofmann, Jan 22 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Max Alekseyev, Jan 22 2022
STATUS
approved