|
|
A093117
|
|
a(n) = 8*a(n-1) + 21*a(n-2), with a(1)=1, a(2)=15.
|
|
3
|
|
|
1, 15, 141, 1443, 14505, 146343, 1475349, 14875995, 149990289, 1512318207, 15248341725, 153745416147, 1550178505401, 15630081782295, 157594402871781, 1588986940402443, 16021377983526945, 161539749616666863, 1628766934587400749, 16422470218649210115
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Limit_{n -> oo} a(n+1)/a(n) converges to 4 + sqrt(37).
|
|
MATHEMATICA
|
LinearRecurrence[{8, 21}, {1, 15}, 20] (* Harvey P. Dale, Nov 03 2020 *)
|
|
PROG
|
(Magma) R<x>:=PowerSeriesRing(Integers(), 40); Coefficients(R!( (1+7*x)/(1-8*x-21*x^2) )); // G. C. Greubel, Feb 09 2023
(SageMath)
@CachedFunction
if (n<3): return (0, 1, 8)[n]
else: return 8*b(n-1) + 21*b(n-2)
def A093117(n): return b(n) + 7*b(n-1)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|