A résolu


List Honaker primes
The number 131 is the 32nd prime number. It is a Honaker prime because the sum of its digits (1+3+1) equals the sum of the digit...

environ 5 ans il y a

A résolu


Palindromic Prime
Palindromic Prime is a prime number that is also a palindromic number. (Wiki, OEIS) If given a monotonic series (increment=1) ...

environ 5 ans il y a

A résolu


Which Prime
Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

environ 5 ans il y a

A résolu


Hoax Numbers
A Hoax Number (OEIS A019506) is defined as a composite number, whose sum of digits is equal to the sum of digits of its distinct...

environ 5 ans il y a

A résolu


Bessel Polynomials
Return the n-th Bessel polynomial Assume that n is a non-negative finite integer. bessel_poly(0) ans = 1 bessel_poly(1) ...

environ 5 ans il y a

A résolu


Draw 'S'
draw S using nxn matrix, where n is odd and greater than 4 S = [1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 1 ...

environ 5 ans il y a

A résolu


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

environ 5 ans il y a

A résolu


Archimedes principle
According to Archimedes principle, the buoyancy force is equal to the weight of fluid displaced by the submerged portion of an o...

environ 5 ans il y a

A résolu


Performance - summation
Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...

environ 5 ans il y a

A résolu


surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 ca...

environ 5 ans il y a

A résolu


volume of torus
Find volume of torus with a as major radius and b as minor

environ 5 ans il y a

A résolu


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

environ 5 ans il y a

A résolu


Identify prime words

environ 5 ans il y a

A résolu


Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

environ 5 ans il y a

A résolu


List the titles of Cody problems

environ 5 ans il y a

A résolu


Make the first letter of a sentence Capital.

environ 5 ans il y a

A résolu


Write a function to generate AND operation

environ 5 ans il y a

A résolu


Add 100

environ 5 ans il y a

A résolu


Flip coins

environ 5 ans il y a

A résolu


Find jumping medalists

environ 5 ans il y a

A résolu


Compute the nth Naerogahtyp emirp

environ 5 ans il y a

A résolu


List the erauqs

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Determine digits of the Copeland-Erdos constant
<https://www.mathworks.com/matlabcentral/cody/problems/1477-champernowne-constant/solutions/new Cody Problem 1477> asks us to de...

plus de 5 ans il y a

A résolu


Test the generalized Legendre conjecture

plus de 5 ans il y a

Charger plus