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!)
A054495 Smallest k such that n/k is a Fibonacci number. 5
1, 1, 1, 2, 1, 2, 7, 1, 3, 2, 11, 4, 1, 7, 3, 2, 17, 6, 19, 4, 1, 11, 23, 3, 5, 2, 9, 14, 29, 6, 31, 4, 11, 1, 7, 12, 37, 19, 3, 5, 41, 2, 43, 22, 9, 23, 47, 6, 49, 10, 17, 4, 53, 18, 1, 7, 19, 29, 59, 12, 61, 31, 3, 8, 5, 22, 67, 2, 23, 14, 71, 9, 73, 37, 15, 38, 77, 6, 79, 10, 27, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n/A054494(n). [Corrected by Charles R Greathouse IV, Nov 05 2014]
EXAMPLE
a(10)=2 because 10/1=10 is not a Fibonacci number but 10/2=5 is.
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(d))) \\ Charles R Greathouse IV, Nov 05 2014
(Python)
from sympy import divisors
from sympy.ntheory.primetest import is_square
def A054495(n): return next(d for d in divisors(n) if is_square(m:=5*(n//d)**2-4) or is_square(m+8)) # Chai Wah Wu, May 06 2024
CROSSREFS
Sequence in context: A212671 A131057 A051852 * A007966 A224609 A278710
KEYWORD
easy,nonn,changed
AUTHOR
Henry Bottomley, Apr 04 2000
EXTENSIONS
a(34), a(55), a(68) corrected by Charles R Greathouse IV, Nov 06 2014
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 12 17:58 EDT 2024. Contains 372493 sequences. (Running on oeis4.)