At the end of the loop iteration, the variable b holds the remainder rk, whereas the variable a holds its predecessor, rk−1.
Ring ungkur iterasi loop, variabel b nyimpen sisan rk, miwah variabel a ngamel purwakanyané, rk−1.