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!)
A066212 A measure of how close the golden ratio is to rational numbers. 3
-3, 8, -21, 8, 55, -21, 21, -144, -21, 55, -55, 29, 377, -40, 55, -144, -34, 144, -74, 55, -987, -55, 107, -144, 55, 377, -86, 92, -377, -65, 195, -144, 84, 2584, -95, 144, -279, 78, 377, -144, 121, -987, -101, 227, -239, 107, 987, -144, 173, -509, -106, 377, -217, 144, -6765, -144, 250, -377, 127, 731, -203 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
New peaks (in absolute terms) occur when n is a Fibonacci number (1,2,3,5,8,13,21, ... A000045) and take alternate Fibonacci values with alternating signs (-3, 8, -21, 55, -144, 377, -987, ... A001906). Each new peak (after the second) appears twice (with different signs) between the next two peaks, when n is twice a Fibonacci number (4, 6, 10, 16, 26, ... and when n is a Lucas number (4, 7, 11, 18, 29, ... A000204); the larger peaks appear many more times later in the sequence.
LINKS
FORMULA
a(n) = round(1/(phi-round(phi*n)/n)) where phi = (sqrt(5)+1)/2 = 1.6180339... = round(1/(phi-A007067(n)/n)).
EXAMPLE
a(5) = round(1/(1.6180339... - round(1.6180339...*5)/5)) = round(1/(1.6180339... - 8/5)) = round(55.45...) = 55, i.e., 8/5 is the closest multiple of 1/5 to phi and phi-8/5 is about 1/55.
PROG
(PARI) { phi=(1 + sqrt(5))/2; for (n=1, 1000, a=round(1/(phi - round(phi*n)/n)); write("b066212.txt", n, " ", a) ) } \\ Harry J. Smith, Feb 06 2010
CROSSREFS
Sequence in context: A027319 A297973 A291176 * A171437 A075719 A245205
KEYWORD
sign
AUTHOR
Henry Bottomley, Dec 17 2001
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 19 02:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)