Gelöst


Find the next binary palindrome number
We all know, a *palindrome* is nothing but a number or character which remains the same after the forward or backward alteration...

mehr als 5 Jahre vor

Gelöst


Calculate the volume of a cone
Calculate the volume of a cone given an array containing one column of radii and one column of the height of the cone. * Reme...

mehr als 5 Jahre vor

Gelöst


Which integer is positive which is negative or which one is nothing ?
for example: our input number is 5 answer is 'POSITIVE' or our input is 0 answer is 'IT IS ZERO'

mehr als 5 Jahre vor

Gelöst


Sum of terms in a series 1 (★★★)
Given x and n, compute the following sum: |x|+|x|^(1/2)+|x|^(1/3)+|x|^(1/4)+|x|^(1/5) ... + |x|^(1/n) where ||x|| indica...

mehr als 5 Jahre vor

Gelöst


SatCom #7: Thermal Noise in a Receiver

mehr als 5 Jahre vor

Gelöst


Fill a zeros matrix (★★★★★)
(Copy of Problem 830) The aim is to fill an array of all zeros given a numerical value and the index of row and columns for t...

mehr als 5 Jahre vor

Gelöst


Extract leading non-zero digit (★★★★★)
(Copy of Problem 47) Benford's Law states that the distribution of leading digits is not random. This is probably because man...

mehr als 5 Jahre vor

Gelöst


Make a checkerboard matrix (★★★★★)
(copy of Prob. 4) Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1...

mehr als 5 Jahre vor

Gelöst


Create times-tables (★★★)
(copy of prob 33) At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 ti...

mehr als 5 Jahre vor

Gelöst


Generate a vector which contains a pyramid pattern (★★★★)
Generate a vector that contains terms that follows a pyramid pattern up to the nth row: 1 2 2 3 3 3 4 4 4 4 ...

mehr als 5 Jahre vor

Gelöst


Longest run of consecutive numbers (★★★★★)
(copy of Problem 672) Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you...

mehr als 5 Jahre vor

Gelöst


Remove the row average (★★★)
(copy of Prob. 963) Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solut...

mehr als 5 Jahre vor

Gelöst


Polygon Interior Angle Sum
Theorem is (n−2)x180°

mehr als 5 Jahre vor

Gelöst


counting sequence
A counting sequence is formed by "counting" the entries in a given sequence.

mehr als 5 Jahre vor

Gelöst


Evaluate the zeta function for real arguments > 1
The <https://en.wikipedia.org/wiki/Riemann_zeta_function Riemann zeta function> is important in number theory. In particular, th...

mehr als 5 Jahre vor

Gelöst


Compute the harmonic numbers
The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...

mehr als 5 Jahre vor

Gelöst


Compute Khinchin's constant
Khinchin's constant K_0 = 2.684542001... (also written "Khintchine's constant") has the amazing property that it is the limiting...

mehr als 5 Jahre vor

Gelöst


Identify Wagstaff primes
The numbers 3, 43, and 2731 are examples of <https://mathworld.wolfram.com/WagstaffPrime.html Wagstaff primes>. Write a func...

mehr als 5 Jahre vor

Gelöst


Rock Paper Scissors Lizard Spock

mehr als 5 Jahre vor

Gelöst


Last Digit of fibonacci number

mehr als 5 Jahre vor

Gelöst


LCM

mehr als 5 Jahre vor

Gelöst


List the emirps

mehr als 5 Jahre vor

Gelöst


Matrix with increasing numbers (★★★★)

mehr als 5 Jahre vor

Gelöst


Create nXn Fourier matrix

mehr als 5 Jahre vor

Gelöst


PIN code II

mehr als 5 Jahre vor

Gelöst


PIN code III

mehr als 5 Jahre vor

Gelöst


Modulo with 5

mehr als 5 Jahre vor

Mehr laden