OFFSET
1,2
COMMENTS
An approximate "inverse" of A000045 (of the Fibonacci numbers).
MAPLE
[seq(floor(log[(sqrt(5)+1)/2](n*sqrt(5))), n=1..120)];
PROG
(Scheme function:) (define (A072648 n) (cond ((zero? n) n) (else (floor->exact (/ (log (* n *Sqrt5*)) *LogPhi*)))))
(define *Sqrt5* (sqrt 5))
(define *Phi* (/ (1+ *Sqrt5*) 2))
(define *LogPhi* (log *Phi*))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 02 2002
STATUS
approved