Write a function to determine if a number is divisible by 14. If a number is divisible by 2 and divisible by 7, then it is divisible by 14.
Previous problem: divisible by 13. Next problem divisible by 15.
Return the 3n+1 sequence for n
So many choices
Golomb's self-describing sequence (based on Euler 341)
Create an index-powered vector
Add offset to a signal
Dice roll - opposite faces
Lights Out 28 - 3x3x3, x moves
Singular Value Decomposition
Calculator spelling - Letters to Numbers
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office