login

Revision History for A296239

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = distance from n to nearest Fibonacci number.
(history; published version)
#27 by Harvey P. Dale at Sat Jul 02 13:59:11 EDT 2022
STATUS

editing

approved

#26 by Harvey P. Dale at Sat Jul 02 13:59:08 EDT 2022
LINKS

Harvey P. Dale, <a href="/A296239/b296239.txt">Table of n, a(n) for n = 0..1000</a>

STATUS

approved

editing

#25 by Harvey P. Dale at Sat Jul 02 13:57:24 EDT 2022
STATUS

editing

approved

#24 by Harvey P. Dale at Sat Jul 02 13:57:21 EDT 2022
MATHEMATICA

With[{nn=80, fibs=Fibonacci[Range[0, 20]]}, Table[Abs[n-Nearest[fibs, n]][[1]], {n, 0, nn}]] (* Harvey P. Dale, Jul 02 2022 *)

STATUS

approved

editing

#23 by N. J. A. Sloane at Fri Dec 15 12:24:09 EST 2017
STATUS

proposed

approved

#22 by Jon E. Schoenfield at Thu Dec 14 00:29:55 EST 2017
STATUS

editing

proposed

Discussion
Thu Dec 14
15:06
R�my Sigrist: @Jon: thank you for this nice formula.
21:16
Jon E. Schoenfield: @R�my -- you're very welcome!  (It was a fun challenge!)  :-)
#21 by Jon E. Schoenfield at Thu Dec 14 00:26:35 EST 2017
FORMULA

a(n) = abs(n - Fibonacci(floor(log(sqrt(20)*n)/log((1 + sqrt(5))/2)-1))). - Jon E. Schoenfield, Dec 14 2017

STATUS

proposed

editing

#20 by R�my Sigrist at Wed Dec 13 14:29:34 EST 2017
STATUS

editing

proposed

Discussion
Wed Dec 13
20:53
Jon E. Schoenfield: Could we get a Formula?
#19 by R�my Sigrist at Wed Dec 13 14:27:51 EST 2017
NAME

Distance a(n) = distance from n to nearest Fibonacci number.

STATUS

proposed

editing

Discussion
Wed Dec 13
14:29
R�my Sigrist: @Felix : I agree with you that the name is clearer with an "n" - name modified accordingly.
#18 by R�my Sigrist at Wed Dec 13 11:18:27 EST 2017
STATUS

editing

proposed

Discussion
Wed Dec 13
13:43
Felix Fr�hlich: Why has "n" been removed from name? I think the name does not really make sense without it.
13:59
R�my Sigrist: @Felix : I initially found A051699 and took a similar name : "distance from n to closest ..." ; the 7 similar other sequences found later where all of the form "distance to nearest ...", so I changed the name so as to be consistent with the majority.