Question: Integer Computations

Hi,

I am new to Maple, so sorry for asking this TRIVIAL question but I got quite frustrated after so much time unsuccessfully trying to figure out how to perform integer computations.

Lets take the simple example below:

3k - 5 = 0

I wanna get k=1 not 5/3

Isolve doesn’t work  for this as I would like. Introduced assumptions re ignored:

Solve(3*k -5=0, k, useassumptions) assuming k :: nonnegint

Warning, solve may not respect assumed property 'integer' on 'k'.

 

I also try enforcing assumptions in other ways but all what I’ve got was:

Warning, solve may be ignoring assumptions on the input variables.

 

How can I get ‘1’??!!

 

thanks

Please Wait...