OFFSET
1,1
COMMENTS
Suppose that A = (a(n)), for n >= 0, is a sequence, and g is a real number such that a(n)/a(n-1) -> g. The limiting power-ratio for A is the limit as n->oo of a(n)/g^n, assuming that this limit exists. For A = A295950, we have g = (1 + sqrt(5))/2, the golden ratio (A001622). See the guide at A296469 for related sequences.
EXAMPLE
limiting power-ratio = 6.920208311693159108588213408494198705738...
MATHEMATICA
a[0] = 1; a[1] = 4; b[0] = 2; b[1 ] = 3; b[2] = 5;
a[n_] := a[n] = a[n - 1] + a[n - 2] + b[n];
j = 1; While[j < 13, k = a[j] - j - 1;
While[k < a[j + 1] - j + 1, b[k] = j + k + 2; k++]; j++];
Table[a[n], {n, 0, k}]; (* A295950 *)
z = 2000; g = GoldenRatio; h = Table[N[a[n]/g^n, z], {n, 0, z}];
StringJoin[StringTake[ToString[h[[z]]], 41], "..."]
Take[RealDigits[Last[h], 10][[1]], 120] (* A296478 *)
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Jan 05 2018
STATUS
approved