Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A094685 Modified juggler sequence: if n mod 2 = 0 then round(sqrt(n)) else round(n^(3/2)). 5
0, 1, 1, 5, 2, 11, 2, 19, 3, 27, 3, 36, 3, 47, 4, 58, 4, 70, 4, 83, 4, 96, 5, 110, 5, 125, 5, 140, 5, 156, 5, 173, 6, 190, 6, 207, 6, 225, 6, 244, 6, 263, 6, 282, 7, 302, 7, 322, 7, 343, 7, 364, 7, 386, 7, 408, 7, 430, 8, 453, 8, 476, 8, 500, 8, 524, 8, 548, 8, 573, 8, 598, 8, 624, 9, 650 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
REFERENCES
C. Pickover, Computers and the Imagination, St. Martin's Press, NY, 1991, p. 233.
LINKS
H. J. Smith, Juggler Sequence
MAPLE
f:=proc(n) if n mod 2 = 0 then RETURN(round(sqrt(n))) else RETURN(round(n^(3/2))); fi; end;
PROG
(Python)
from gmpy2 import isqrt_rem
def A094685(n):
i, j = isqrt_rem(n**3 if n % 2 else n)
return int(i+ int(4*(j-i) >= 1)) # Chai Wah Wu, Aug 17 2016
CROSSREFS
Sequence in context: A257323 A293559 A094683 * A095396 A051308 A257327
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 09 2004
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 September 9 01:17 EDT 2024. Contains 375759 sequences. (Running on oeis4.)