by vince choi
Version 2 (March 27, 2018)
Download (146 downloads)
thanks to 24*7 Gamer for the feedback.
fixed some bugs when the number being tested is less than 4.
--------------------------------------------------------------------------------------------------------
this flow will check a number if it is ODD or EVEN, PRIME or COMPOSITE.
in theory, the time of computation can be cut off greatly using FERMAT'S LITTLE THEOREM(future update perhaps) if we are dealing with extremely huge numbers, etc., but this flow is useful until
999 999 999 999 999.
good luck.
5 stars | 1 | |
4 stars | 0 | |
3 stars | 0 | |
2 stars | 1 | |
1 star | 0 | |
Reports | 0 |
Rate and review within the app in the Community section.