progs/defs.fun
changeset 695 484b74bc057e
parent 656 cfc0e730bcda
equal deleted inserted replaced
694:b6ed836ce59b 695:484b74bc057e
    75 //write(ack(3, 12))   // for tail-rec test
    75 //write(ack(3, 12))   // for tail-rec test
    76 //stack_test(0)
    76 //stack_test(0)
    77 //(write (div(11, 3)); rem(11, 3))
    77 //(write (div(11, 3)); rem(11, 3))
    78 //gcd(54, 24)
    78 //gcd(54, 24)
    79 //is_prime(2)
    79 //is_prime(2)
    80 primes(1000000)
    80 primes(1000)
       
    81 //primes(1000000)
       
    82 //collatz(4000)
    81 //collatz(5000)
    83 //collatz(5000)
    82 //facT(6, 1)
    84 //facT(6, 1)
    83 
    85