A résolu


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

environ 5 ans il y a

A résolu


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

environ 5 ans il y a

A résolu


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

environ 5 ans il y a

A résolu


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

environ 5 ans il y a

A résolu


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

environ 5 ans il y a

A résolu


Make a vector of prime numbers
Input(n) - length of vector with prime numbers Output(v) - vector of prime numbers Example: * n=1; v=2 * n=3; v=[2 3 5...

environ 5 ans il y a

A résolu


When the sum of the cubes is a quartic...

environ 5 ans il y a

Problème


When the sum of the cubes is a quartic...

environ 5 ans il y a | 2 | 20 solveurs

A résolu


When the sum of the squares is a cubic...

environ 5 ans il y a

Problème


When the sum of the squares is a cubic...

environ 5 ans il y a | 2 | 21 solveurs

A résolu


Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...

environ 5 ans il y a

A résolu


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

environ 5 ans il y a

A résolu


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

environ 5 ans il y a

A résolu


Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

environ 5 ans il y a

A résolu


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

environ 5 ans il y a

A résolu


Triangle Numbers (★★)
(copy of problem 5) Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3...

environ 5 ans il y a

A résolu


Approximate functions 2 (★★★★)

environ 5 ans il y a

A résolu


Previous Palindrome

environ 5 ans il y a

Problème


Previous Palindrome

environ 5 ans il y a | 2 | 24 solveurs

A résolu


Next Palindrome

environ 5 ans il y a

Problème


Next Palindrome

environ 5 ans il y a | 2 | 26 solveurs

A résolu


Splitting Circle

environ 5 ans il y a

Problème


Splitting Circle

environ 5 ans il y a | 1 | 37 solveurs

A résolu


Splitting Hexagon - Problem the third

environ 5 ans il y a

Problème


Splitting Hexagon - Problem the third

environ 5 ans il y a | 1 | 33 solveurs

A résolu


Splitting Hexagon - Problem the second

environ 5 ans il y a

Problème


Splitting Hexagon - Problem the second

environ 5 ans il y a | 1 | 26 solveurs

A résolu


Splitting Hexagon - Problem the first

environ 5 ans il y a

Problème


Splitting Hexagon - Problem the first

environ 5 ans il y a | 2 | 25 solveurs

Charger plus