Resuelto


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

8 meses hace

Resuelto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

8 meses hace

Enviada


Prime numbers spiral
Function to display the prime number spiral and the prime squares spiral. Also check primes sum and prime squares spiral length....

8 meses hace | 2 descargas |

0.0 / 5
Thumbnail

Enviada


Frequencies of prime gaps
Function to compute and display the cumulated frequencies of gaps between consecutive prime numbers

8 meses hace | 1 descarga |

0.0 / 5
Thumbnail

Resuelto


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

8 meses hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

8 meses hace

Resuelto


Triangle Numbers Below N
This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...

8 meses hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

8 meses hace

Resuelto


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

8 meses hace

Resuelto


Check the integers decomposition conjecture
Problem statement A conjecture (I rediscovered ?) related to Goldbach's one states that every integer above 2 can be written ...

8 meses hace

Problema


Check the integers decomposition conjecture
Problem statement A conjecture (I rediscovered ?) related to Goldbach's one states that every integer above 2 can be written ...

8 meses hace | 1 | 16 solvers

Resuelto


Check the 'golden prime squares' equation
Historical context In december 2023, I (Nicolas Douillet) was working on prime squares properties and I found* the formula : ...

8 meses hace

Problema


Check the 'golden prime squares' equation
Historical context In december 2023, I (Nicolas Douillet) was working on prime squares properties and I found* the formula : ...

8 meses hace | 3 | 21 solvers

Resuelto


Euclid primes
Historical context Euclid, the greek mathematician proved at his time that the prime numbers set is an infinite. By the way he ...

8 meses hace

Problema


Euclid primes
Historical context Euclid, the greek mathematician proved at his time that the prime numbers set is an infinite. By the way he ...

8 meses hace | 1 | 15 solvers

Resuelto


Fermat primes
Historical context The french mathematician Pierre de Fermat found the formula to find some prime numbers. He thought / co...

8 meses hace

Problema


Fermat primes
Historical context The french mathematician Pierre de Fermat found the formula to find some prime numbers. He thought / co...

8 meses hace | 1 | 18 solvers

Resuelto


Ulam primes first formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give the first 760 prime numbers ...

8 meses hace

Problema


Ulam primes first formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give the first 760 prime numbers ...

8 meses hace | 2 | 19 solvers

Resuelto


Ulam primes second formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give some prime numbers not given...

8 meses hace

Problema


Ulam primes second formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give some prime numbers not given...

8 meses hace | 1 | 19 solvers

Resuelto


List the cuban primes
The number 61 is a cuban prime because it is prime and the difference two cubes, 64 and 125. Write a function to list the cuba...

8 meses hace

Resuelto


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

8 meses hace

Resuelto


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

8 meses hace

Resuelto


sum numbers to some value n
sum of numbers up to a value n

8 meses hace

Resuelto


Delete some elements in the natural set and find the sum of the first n terms
Delete the number (except 0,1) with a complete square number from the natural set of numbers, form a new set of numbers, find th...

8 meses hace

Resuelto


Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...

8 meses hace

Resuelto


Euler primes
Historical context The great swiss mathematician Leonhard Euler found the formula P(n) = n^2 + n + 41 to give some prime numb...

8 meses hace

Problema


Euler primes
Historical context The great swiss mathematician Leonhard Euler found the formula to give some prime numbers. Problem...

8 meses hace | 2 | 23 solvers

Cargar más