Risolto


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

oltre un anno fa

Risolto


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.

oltre un anno fa

Inviato


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

oltre un anno fa | 16 download |

0.0 / 5
Thumbnail

Inviato


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

oltre un anno fa | 5 download |

0.0 / 5
Thumbnail

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

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

oltre un anno fa | 1 | 19 risolutori

Risolto


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

oltre un anno fa

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

oltre un anno fa | 3 | 25 risolutori

Risolto


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

oltre un anno fa

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

oltre un anno fa | 1 | 19 risolutori

Risolto


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

oltre un anno fa

Problema


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

oltre un anno fa | 1 | 22 risolutori

Risolto


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

oltre un anno fa

Problema


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

oltre un anno fa | 2 | 23 risolutori

Risolto


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

oltre un anno fa

Problema


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

oltre un anno fa | 1 | 23 risolutori

Risolto


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

oltre un anno fa

Risolto


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.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Problema


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

oltre un anno fa | 2 | 27 risolutori

Carica altro