1,5

No 5's present among the first 16384 terms, but they should exist as A095955 has them too. - Antti Karttunen, Dec 04 2017

Antti Karttunen, Table of n, a(n) for n = 1..16384

(Scheme) (define (A096993 n) (if (= 1 n) n (let loop ((visited (list n)) (i 1)) (let ((next (A062402 (car visited)))) (cond ((member next visited) => (lambda (prepath) (+ 1 (- i (length prepath))))) (else (loop (cons next visited) (+ 1 i)))))))) ;; Antti Karttunen, Dec 04 2017

Cf. A062402, A095955, A096864, A096866.

Sequence in context: A298071 A246920 A244964 * A297774 A043533 A043558

Adjacent sequences: A096990 A096991 A096992 * A096994 A096995 A096996

nonn

Labos Elemer, Jul 19 2004

approved