Solved

Sum the elements in rows of the Levine triangle
The Levine triangle starts as follows: Row 0: 2 Row 1: 1 1 Row 2: 1 2 Row 3: 1 1 2 To construct each row, r...

3 maanden ago

Solved

Identify Ruth-Aaron numbers
After Hank Aaron hit his 715th home run and passed Babe Ruthâ€™s total of 714, Carl Pomerance noticed that the union of the prime ...

3 maanden ago

Solved

Compute a sum of Ramanujan
Srinivasa Ramanujan defined the following function: Write a function to compute for various values of . See also Cody Proble...

4 maanden ago

Solved

Find the smallest integer m such that n divides m!
Write a function that takes an integer and finds the smallest integer whose factorial is divisible by . For example, if , then...

4 maanden ago

Solved

Determine when snow started
R.P. Agnew posed the following problem: It starts snowing in the morning and continues steadily throughout the day. A snowplow t...

4 maanden ago

Solved

Count unique orderings of vertices of a polygon
Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

4 maanden ago

Solved

Solve an ODE: equation C
Write a function to solve the following ordinary differential equation: with and . The parameter is a constant. The functi...

4 maanden ago

Solved

Hexagonal Tiling Dots in a Circle
Return how many <http://en.wikipedia.org/wiki/Hexagonal_grid Hexagonal Tiling> grid points there are inside a circle of radius _...

4 maanden ago

Solved

Shifted Hexagonal Tiling Dots in a Circle
Return how many <http://en.wikipedia.org/wiki/Hexagonal_grid Hexagonal Tiling> grid points there are inside a circle of radius _...

4 maanden ago

Solved

Solve an ODE: equation B

4 maanden ago

Solved

List Proth primes

4 maanden ago

Solved

Solve an ODE: equation A

5 maanden ago

Solved

5 maanden ago

Solved

Solve an ODE: diffusion problem 2

5 maanden ago

Solved

List prime anagrams of a number

5 maanden ago

Solved

Solve an ODE: diffusion problem 1

6 maanden ago