Solved

Pentagonal Numbers

Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

1 month ago

Solved

Last non-zero digit

Given a number n, find the last non-zero digit of the factorial of that number. You need to take care of the large values of n....

1 month ago

Solved

Champernowne Constant

The <http://en.wikipedia.org/wiki/Champernowne_constant Champernowne constant> is a real number whose digits in decimal represen...

1 month ago

Solved

Is it an Armstrong number?

An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

1 month ago

Solved

Lychrel Number Test (Inspired by Project Euler Problem 55)

The task for this problem is to create a function that takes a number _n_ and tests if it might be a Lychrel number. This is, re...

1 month ago

Solved

Ordinal numbers

Given an integer n, return the corresponding ordinal number as a character string. For example, ord(1)='1st' ord(2)=...

1 month ago

Solved

Determine if input is a perfect number

A <http://en.wikipedia.org/wiki/Perfect_number/ perfect number> occurs whent the sum of all divisors of a positive integer, exce...

1 month ago

Solved

Determine if input is a Narcissistic number

<http://en.wikipedia.org/wiki/Narcissistic_number Narcissistic number> is a number that is the sum of its own digits each raised...

1 month ago

Solved

Fangs of pseudo-vampire number

given a number, find all the fangs of that number. A pseudo-vampire number can have multiple of fangs. The output should be a...

1 month ago

Solved

Kaprekar numbers

Test if the input is a Kaprekar number: <http://mathworld.wolfram.com/KaprekarNumber.html>. Return a logical true or false. ...

2 months ago

Solved

Parasitic numbers

Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

2 months ago

Solved

Woodall number

Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

2 months ago

Solved

Find all vampire fangs

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

2 months ago

Solved

Fangs of a vampire number

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

2 months ago

Solved

Find vampire numbers

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

2 months ago

Solved

Cantor counting

Find the nth cantor's rational number. the sequence is given below in the link. Sequence: 1/1,1/2,2/1,3/1,2/2,1/3,1/4... ... .....

2 months ago

Solved

find nth even fibonacci number

1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

2 months ago

Solved

Bell Triangle

Form the bell triangle upto nth bell number posotion; * if n=5 * y= [1 0 0 0 0; 1 2 0 0...

2 months ago

Solved

Be happy

check whether the given number is happy in b-base. * A happy number can be defined as a number which will yield 1 when it is ...

2 months ago

Solved

Frugal number

check whether n is a frugal number * a frugal number is a natural number in a given number base that has more digits than the...

2 months ago

Solved

Pell numbers

Find the nth pell number <https://en.wikipedia.org/wiki/Pell_number>

2 months ago

Solved

Pseudo-vampire number

refer to <https://en.wikipedia.org/wiki/Vampire_number> Given a number x, determine whether it is a pseudo-vampire number. ...

2 months ago

Solved

Evil Number

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

2 months ago

Solved

Modify subscripts - easier

MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem focus on modifying subscript...

2 months ago

Solved

Rosenbrock's Banana Function and its derivatives

Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

2 months ago