OFFSET
0,4
REFERENCES
C. Pickover, Computers and the Imagination, St. Martin's Press, NY, 1991, p. 233.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..10000
Vikram Prasad and M. A. Prasad, Estimates of the maximum excursion constant and stopping constant of juggler-like sequences, ResearchGate, 2025.
Harry 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
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 09 2004
STATUS
approved