Problem 42442. Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers222
Suggested Problems
-
Select every other element of a vector
31532 Solvers
-
Return the 3n+1 sequence for n
8103 Solvers
-
5669 Solvers
-
568 Solvers
-
Implement simple rotation cypher
1050 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!