not a general solution
Considering that the proof of the 6th taxicab number produced over 8GB of data and consisted of an exhaustive search over the integers up to 1e21, a truly generic solution is not really possible.
Replace NaNs with the number that appears to its left in the row.
Distance walked 1D
Multiply a column by a row
How long is the longest prime diagonal?
Replace multiples of 5 with NaN
Latest Question On Cody
Beauty of Parentheses
longest common semi-substring
remove single elements
Let's see how peculiar we can get
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