login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117655 a(n) = floor(f(n)), where f(n) = (5 - 4.37/(f(n-1) + f(n-2))^(1/3))^3, f(0) = 0, and f(1) = 1. 2
0, 1, 0, 0, 0, 0, 1, 3, 12, 34, 54, 64, 69, 71, 71, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,8
LINKS
FORMULA
a(n) = floor(f(n)), where f(n) = (5 - 4.37/(f(n-1) + f(n-2))^(1/3))^3, f(0) = 0, and f(1) = 1.
MATHEMATICA
f[n_]:= f[n]= If[n<2, n, (5 -4.37/(f[n-1]+f[n-2])^(1/3))^3];
a[n_]:= Floor[f[n]];
Table[a[n], {n, 0, 100}]
PROG
(Magma)
f:=[n le 2 select n-1 else (5 - 4.37/(Self(n-1) + Self(n-2))^(1/3))^3 : n in [1..101]];
A117655:= func< n | Floor(f[n+1]) >;
[A117655(n): n in [0..100]]; // G. C. Greubel, Mar 30 2024
(SageMath)
@CachedFunction
def f(n): return n if n<2 else (5 - 4.37/(f(n-1)+f(n-2))^(1/3))^3
def A117655(n): return floor(f(n))
[A117655(n) for n in range(101)] # G. C. Greubel, Mar 30 2024
CROSSREFS
Sequence in context: A054610 A183468 A196234 * A081423 A184705 A257890
KEYWORD
nonn,less
AUTHOR
Roger L. Bagula, Apr 11 2006
EXTENSIONS
Edited by G. C. Greubel, Mar 30 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)