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!)
A053092 2^A053087 kara n. 2
1, 1, 3, 1, 7, 3, 5, 1, 15, 7, 3, 11, 5, 19, 9, 1, 31, 15, 7, 13, 25, 3, 23, 11, 21, 5, 19, 37, 9, 35, 17, 1, 63, 31, 15, 29, 7, 27, 53, 13, 25, 49, 3, 47, 23, 45, 11, 43, 21, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
PROG
(Haskell)
a053092 n = f 1 where
f x = case x `kara` n of
Nothing -> f $ 2 * x
Just y -> y
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
Sequence in context: A161942 A370689 A247675 * A212045 A292849 A115873
KEYWORD
nonn,look
AUTHOR
Robert Lozyniak (11(AT)onna.com), Feb 27 2000
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 April 25 09:38 EDT 2024. Contains 371967 sequences. (Running on oeis4.)