Generate a vector like 1,2,2,3,3,3,4,4,4,4
Numbers spiral diagonals (Part 2)
Highly divisible triangular number (inspired by Project Euler 12)
Check if number is a square number
Easy Sequences 32: Almost Pythagorean Triples
Easy Sequences 42: Areas of Non-constructible Polygons
Easy Sequences 41: Boxes with Integer Edges
Easy Sequences 1: Find the index of an element
Easy Sequences 26: Prime-Integer Line Segments
Find the treasures in MATLAB Central and discover how the community can help you!
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