Given a number n (1<=n<=9), return a left justified numeric matrix p with all the palindromes of the form 1 to n and back to 1. Use 0 for empty values. Similarly return the square root matrix in the same form.
Example
n=2;
p=[1 0 0; 1 2 1];
r=[1 0 0; 1 1 0];
Return a list sorted by number of occurrences
1225 Solvers
616 Solvers
225 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
456 Solvers
377 Solvers
Problem Tags