Solved

Determine whether a number is a cluster prime

A <https://mathworld.wolfram.com/ClusterPrime.html cluster prime> is an odd prime number _p_ such that all even numbers less tha...

8 months ago

Solved

Investigate the frequency of last digits of prime numbers

The last digit of a prime number greater than 5 can be 1, 3, 7, or 9. If the primes are distributed randomly, then these digits ...

8 months ago

Solved

Compute the nth Pythagorean prime

Pythagorean primes have the form p = 4n+1, where n is an integer, and they can be written as the sum of squares of two integers....

8 months ago

Solved

Sum of series

a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

8 months ago

Solved

Is A the inverse of B?

Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

8 months ago

Solved

Rotate Matrix @180 degree

Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

8 months ago

Solved

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

8 months ago

Solved

the average value of the elements

Calculate the average value of the elements in the array

8 months ago