login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054494 Largest Fibonacci factor of n. 4
1, 2, 3, 2, 5, 3, 1, 8, 3, 5, 1, 3, 13, 2, 5, 8, 1, 3, 1, 5, 21, 2, 1, 8, 5, 13, 3, 2, 1, 5, 1, 8, 3, 34, 5, 3, 1, 2, 13, 8, 1, 21, 1, 2, 5, 2, 1, 8, 1, 5, 3, 13, 1, 3, 55, 8, 3, 2, 1, 5, 1, 2, 21, 8, 13, 3, 1, 34, 3, 5, 1, 8, 1, 2, 5, 2, 1, 13, 1, 8, 3, 2, 1, 21, 5, 2, 3, 8, 89, 5, 13, 2, 3, 2, 5, 8, 1, 2, 3, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = n/A054495(n).

EXAMPLE

a(10)=5 because 1, 2 and 5 are the Fibonacci numbers which divide 10 and 5 is the largest.

MATHEMATICA

With[{fibs=Fibonacci[Range[20]]}, Table[Max[Select[fibs, Divisible[ n, #]&]], {n, 100}]] (* Harvey P. Dale, Jul 17 2012 *)

PROG

(PARI) A010056(n)=my(k=n^2); k+=(k+1)<<2; issquare(k) || (n>0 && issquare(k-8))

a(n)=fordiv(n, d, if(A010056(n/d), return(n/d))) \\ Charles R Greathouse IV, Nov 05 2014

CROSSREFS

Cf. A000045, A005086, A047930.

Sequence in context: A248207 A174621 A007967 * A306252 A112764 A108728

Adjacent sequences:  A054491 A054492 A054493 * A054495 A054496 A054497

KEYWORD

easy,nonn

AUTHOR

Henry Bottomley, Apr 04 2000

EXTENSIONS

Corrected by Harvey P. Dale, Jul 17 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 22 11:06 EST 2020. Contains 332135 sequences. (Running on oeis4.)