OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
EXAMPLE
a(6)=4 because 2^3 kara 6 is undefined, but 16 kara 6 = 3.
PROG
(Haskell)
a053087 n = head [j | j <- [0..], (2 ^ j) `kara` n /= Nothing] where
kara a b = if null ks then Nothing else Just $ head ks
where ks = [c | c <- [1..a], a <= c * b, a > c * (b - 1)]
-- Reinhard Zumkeller, Mar 30 2013
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Robert Lozyniak (11(AT)onna.com), Feb 26 2000
EXTENSIONS
More terms from Antony M. Goddard, cat(AT)animal.u-net.com or tony(AT)noggin.lowtech.org, Oct 13 2000
STATUS
approved