Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sorry, no Trac ticket:

sage: f(x) = ceil(sqrt(2*x) - 1/2)
sage: [0 .. f(3).simplify_radical()]
[0, 1, 2]

Sorry, no Trac ticket:Calling simplify is a hack:

sage: f(x) = ceil(sqrt(2*x) - 1/2)
sage: [0 .. f(3).simplify_radical()]
f(3).simplify()]
[0, 1, 2]