解決済み


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

6ヶ月 前

解決済み


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

6ヶ月 前

解決済み


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

6ヶ月 前

解決済み


Primes numbers which are the difference of two consecutive cubes
Problem statement Given a positive integer n greater than 2, find the prime numbers less or equal to n and which are the diff...

6ヶ月 前

解決済み


Find the first occurence of a given gap between two consecutive prime numbers
Given a gap = p' - p between the two consecutive prime numbers p and p', find its first occurence, f. For examples : If , f=...

6ヶ月 前

解決済み


Frequencies of prime gaps
Given two positive integers n and , write a function which computes the frequency of the gap between two consecutive of the pr...

6ヶ月 前

解決済み


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

6ヶ月 前

解決済み


The cake is a lie...
You're hosting a birthday party with a large number of screaming children. Fortunately, you have a gigantic sheet cake in front...

6ヶ月 前

解決済み


Dominant Matrix - 02
It is a follow-up of the problem 55995. There, you found out whether a matrix is diagonally dominant or not. In this problem, y...

6ヶ月 前

問題


Classify triangles as acute, obtuse, or right
In an acute triangle, the three interior angles are acute, or smaller than 90 degrees. In an obtuse triangle, one angle is obtus...

7ヶ月 前 | 0 | 9 個のソルバー

問題


Compute the antisigma function
The sum of divisors function, or , is the sum of the numbers that divide . The antisigma function is the sum of numbers less tha...

7ヶ月 前 | 0 | 8 個のソルバー

解決済み


Symmetric Pair
Given an (n, 2) matrix, remove any symmetric pairs from the matrix. Keep the first occurrence. (2, 3) and (3, 2) are considere...

7ヶ月 前

解決済み


Pairs with Given Sum
Given an array of integers and a target sum, return all unique pairs whose sum is equal to the target. The output should be a ma...

7ヶ月 前

解決済み


Last Duplicate
Given an array of integers, find the last duplicate element — that is, the element whose second occurrence appears latest in the...

7ヶ月 前

解決済み


First Duplicate
Given an array of integers, return the first duplicate — i.e., the element that appears more than once and whose second appearan...

7ヶ月 前

解決済み


Most Frequent Characters
Given a document file or a character array, identify the 'n' most frequently occurring characters and the number of times each a...

7ヶ月 前

解決済み


Juros Simples
Faça uma função que calcule o montagem de um investimento com juros simples que receba como argumentos o capital inicial C, a ta...

7ヶ月 前

解決済み


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

7ヶ月 前

解決済み


Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.

7ヶ月 前

解決済み


'X'avier
Given a square matrix A of size n, write a function to create a new matrix B where only the elements on the main diagonal and th...

7ヶ月 前

問題


Intersect three sequences
Most numbers have interesting properties, if you look hard enough and interpret “interesting” liberally. Let’s choose a number a...

7ヶ月 前 | 0 | 2 個のソルバー

解決済み


Subtraction
Given two numbers a and b subtract them

7ヶ月 前

解決済み


Multiplication
Given 2 numbers a and b mulitply them

7ヶ月 前

解決済み


Division
Given two numbers a and b divide them a/b

7ヶ月 前

解決済み


Remainder
Given two number a and b find the remainder when you divide a by b

7ヶ月 前

解決済み


Find the mean
Find the mean of a given sdet of numbers in a vector x

7ヶ月 前

解決済み


Mode
Find the mode of a vector x

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


add num
add two numbers a and b

7ヶ月 前

解決済み


minecraft movie scramble
the following phrase "la la la lava ch ch ch chicken" will be out of order. make it into the correct order

7ヶ月 前

さらに読み込む