The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A114540 Number of correct decimal digits given by the n-th convergent to the golden ratio. 1
0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9, 10, 10, 10, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 15, 16, 16, 17, 17, 18, 18, 18, 19, 19, 20, 20, 20, 21, 21, 22, 22, 23, 23, 23, 24, 24, 25, 25, 25, 26, 26, 27, 27, 28, 28, 28, 29, 29, 30, 30, 30, 31, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
Eric Weisstein's World of Mathematics, Golden Ratio
FORMULA
From Colin Barker, Oct 28 2015: (Start)
a(n) = a(n-1)+a(n-12)-a(n-13) for n>12.
G.f.: -x^3*(x^17-x^16-x^9-x^7-x^5-x^2-1)/(x^13-x^12-x+1).
(End)
MATHEMATICA
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1}, {0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8}, 100] (* Harvey P. Dale, Jul 12 2020 *)
PROG
(PARI) concat(vector(3), Vec(-x^3*(x^17-x^16-x^9-x^7-x^5-x^2-1)/(x^13-x^12-x+1) + O(x^100))) \\ Colin Barker, Oct 28 2015
CROSSREFS
Cf. A000045.
Sequence in context: A071824 A224921 A225370 * A183142 A121830 A020911
KEYWORD
nonn,base,less,easy
AUTHOR
Eric W. Weisstein, Dec 07 2005
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 May 15 12:14 EDT 2024. Contains 372540 sequences. (Running on oeis4.)