Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A158510
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A158510 Generalized Fibonacci numbers Fib(n + 0.5) rounded to an integer. +0
1
1, 1, 1, 2, 4, 6, 10, 17, 27, 43, 70, 113, 183, 296, 480, 776, 1255, 2031, 3287, 5318, 8605, 13924, 22529, 36452, 58981, 95433, 154414, 249848, 404262, 654109, 1058371, 1712481, 2770852, 4483332, 7254184, 11737517, 18991701, 30729218, 49720919 (list; graph; listen)
OFFSET

0,4

COMMENT

Generalized Fib(x) = (Phi^x - cos(x*Pi) / Phi^x) / sqrt(5) where Phi = (1 + Sqrt(5))/2.

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,500

Generalized Fibonacci numbers

EXAMPLE

a(7) = 17 because Fib(7.5) = 16.51666... which rounds to 17.

PROGRAM

(PARI) { default(realprecision, 130); s5 = sqrt(5); phi = (1 + s5)/2.0; for (n=0, 500, x=n+0.5; f = round((phi^x - cos(x*Pi) / phi^x) / s5); write("b158510.txt", n, " ", f)) }

CROSSREFS

Sequence in context: A070689 A091611 A107742 this_sequence A004695 A014216 A079961

Adjacent sequences: A158507 A158508 A158509 this_sequence A158511 A158512 A158513

KEYWORD

nonn

AUTHOR

Harry J. Smith (hjsmithh(AT)sbcglobal.net), Mar 20 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research