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 = A295862 we have g = (1 + sqrt(5))/2, the golden ratio (A001622). See the guide at A296469 for related sequences.
FORMULA
limiting power-ratio = 6.514710075055272773358868575343969425373...
MATHEMATICA
a[0] = 1; a[1] = 3; b[0] = 2; b[1] = 4; b[2] = 5;
a[n_] := a[n] = a[n - 1] + a[n - 2] + b[n];
j = 1; While[j < 12, k = a[j] - j - 1;
While[k < a[j + 1] - j + 1, b[k] = j + k + 2; k++]; j++];
Table[a[n], {n, 0, 15}] (* A295862 *)
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] (* A296470 *)
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Dec 18 2017
STATUS
approved