OFFSET
1,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10003
FORMULA
PROG
(Scheme) (define (A260437 n) (cond ((not (zero? (A145649 n))) 0) ((even? n) (/ n 2)) (else (let searchrow ((row 2)) (let searchcol ((col 1)) (cond ((>= (A255543bi row col) n) (if (= (A255543bi row col) n) col (searchrow (+ 1 row)))) (else (searchcol (+ 1 col))))))))) ;; Code for A255543bi given in A255543.
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 02 2015
STATUS
approved