Functions in GAP [closed]
How can i write special numbers(Mersenne, Fibonacci etc.) or the average or the GCD's two different algorithm in GAP(Group, Algebra and Programming)?
How can i write special numbers(Mersenne, Fibonacci etc.) or the average or the GCD's two different algorithm in GAP(Group, Algebra and Programming)?
Asked: 2019-11-12 21:30:04 +0100
Seen: 485 times
Last updated: Nov 12 '19
Are you asking about using GAP in Sage, or just GAP in general? Also what would you like to implement exactly? Have you read the GAP tutorial section on defining functions? Also, have you looked in the GAP reference manual? Some things already exist (or in packages) though it depends on what you want to do.
i've examined to the Reference book and Tutorial. i want to design two basic program, then compare the times. for example: GCD's two different algorithm.
Have you tried writing one of the GCD algorithms, then? If so, what specific problems did you encounter?
Alhamdulillah, i wrote finding the mersenne primes(by the miller-rabin and lucas- lehmer) last night :) thank you for wanting to help, sir.