Community Profile

Contact

Consultant, coder, and math guy.

Top 1% contributor

358 downloads

2 years ago

A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

Solve this!

4 months ago

A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

Given index n return n-th <https://oeis.org/A000069 odious number>.

A polite number is an integer that sums of at least two consecutive positive integers. For example _7 = 3+4_ so 7 is a polite...

In this problem, simply return 1 if a supplied number is Munchhausen narcissistic or 0 if not. Example 153 is narcissistic...

Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at <http://en.wikipedi...

Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

Inspired by Problem 2056 created by Ted. In recreational number theory, a narcissistic number is a number that is the sum of ...

Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

Create a row array from 9 to 1, using the double colon operator.

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:

See all countries