|
|
A018908
|
|
Define sequence S(a_0,a_1) by a_{n+2} is least integer such that a_{n+2}/a_{n+1}>a_{n+1}/a_n for n >= 0. This is S(3,4).
|
|
2
|
|
|
3, 4, 6, 10, 17, 29, 50, 87, 152, 266, 466, 817, 1433, 2514, 4411, 7740, 13582, 23834, 41825, 73397, 128802, 226031, 396656, 696082, 1221538, 2143649, 3761841, 6601570, 11584947, 20330164, 35676950, 62608682, 109870577, 192809421, 338356946, 593775047
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
MAPLE
|
a:= proc(n) option remember; `if`(n<2, [3, 4][n+1],
1 +floor(a(n-1)^2/a(n-2)))
end:
|
|
MATHEMATICA
|
a[n_] := a[n] = Switch[n, 0, 3, 1, 4, _, 1 + Floor[a[n-1]^2/a[n-2]]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|