Solved

Find the last non-zero digit in a primorial

<https://www.mathworks.com/matlabcentral/cody/groups/2001/problems/45251 Cody Problem 45251> asked us to find the last non-zero ...

1 year ago

Solved

Identify primorial primes

Cody Problems <https://www.mathworks.com/matlabcentral/cody/problems/46054-count-trailing-zeros-in-a-primorial 46054> and <https...

1 year ago

Solved

Compute the harmonic numbers

The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...

1 year ago

Solved

Count trailing zeros in a primorial

<https://www.mathworks.com/matlabcentral/cody/problems/44068-the-number-of-trailing-zero-digit-of-a-factorial Cody Problem 44068...

1 year ago

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...

1 year 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 ...

1 year 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....

1 year 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)

1 year 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...

1 year 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;...

1 year ago

Solved

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

1 year ago

Solved

the average value of the elements

Calculate the average value of the elements in the array

1 year ago